Mercurial > touhou
diff pytouhou/game/orb.py @ 200:300661f2ae8a
Fix orbs' original position
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Mon, 31 Oct 2011 17:54:06 +0100 |
parents | 8ec34c56fed0 |
children | f3099ebf4f61 |
line wrap: on
line diff
--- a/pytouhou/game/orb.py +++ b/pytouhou/game/orb.py @@ -18,6 +18,9 @@ from pytouhou.vm.anmrunner import ANMRun class Orb(object): + __slots__ = ('_sprite', '_anmrunner', 'offset_x', 'offset_y', 'player_state', + 'fire') + def __init__(self, anm_wrapper, index, player_state, fire_func): self._sprite = Sprite() self._anmrunner = ANMRunner(anm_wrapper, index, self._sprite)