Mercurial > touhou
comparison pytouhou/games/eosd.py @ 216:a842ddd471fd
Pass the real speed to Player. Thanks to elghinn for discovering the bug.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 07 Dec 2011 14:03:16 +0100 |
parents | eca53abdfeab |
children | 0595315d3880 |
comparison
equal
deleted
inserted
replaced
215:ab6e6909ce04 | 216:a842ddd471fd |
---|---|
57 | 57 |
58 | 58 |
59 | 59 |
60 class EoSDPlayer(Player): | 60 class EoSDPlayer(Player): |
61 def __init__(self, state, game, anm_wrapper, speed=4., hitbox_size=2.5, graze_hitbox_size=42.): | 61 def __init__(self, state, game, anm_wrapper, speed=4., hitbox_size=2.5, graze_hitbox_size=42.): |
62 Player.__init__(self, state, game, anm_wrapper, speed=4.) | 62 Player.__init__(self, state, game, anm_wrapper, speed=speed) |
63 | 63 |
64 self.orbs = [Orb(self.anm_wrapper, 128, self.state, self.orb_fire), | 64 self.orbs = [Orb(self.anm_wrapper, 128, self.state, self.orb_fire), |
65 Orb(self.anm_wrapper, 129, self.state, self.orb_fire)] | 65 Orb(self.anm_wrapper, 129, self.state, self.orb_fire)] |
66 | 66 |
67 self.orbs[0].offset_x = -24 | 67 self.orbs[0].offset_x = -24 |