Mercurial > touhou
comparison pytouhou/games/eosd.py @ 508:1bc014f9d572
Make GameRunner entirely independent of Window or GameRenderer, so we can run a game without display.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Tue, 19 Nov 2013 14:19:14 +0100 |
parents | c622eaf64428 |
children | 577c3a88fb67 |
comparison
equal
deleted
inserted
replaced
507:507d446dc6cf | 508:1bc014f9d572 |
---|---|
100 | 100 |
101 | 101 |
102 | 102 |
103 class EoSDGame(Game): | 103 class EoSDGame(Game): |
104 def __init__(self, resource_loader, stage, rank, difficulty, | 104 def __init__(self, resource_loader, stage, rank, difficulty, |
105 common, prng=None, hints=None, friendly_fire=True, | 105 common, prng, hints=None, friendly_fire=True, |
106 nb_bullets_max=640): | 106 nb_bullets_max=640): |
107 | 107 |
108 self.etama = common.etama #XXX | 108 self.etama = common.etama #XXX |
109 try: | 109 try: |
110 self.enm_anm = resource_loader.get_multi_anm(('stg%denm.anm' % stage, | 110 self.enm_anm = resource_loader.get_multi_anm(('stg%denm.anm' % stage, |