Mercurial > touhou
diff pytouhou/game/laser.pxd @ 495:b32cef75df59
Drop an useless dependency on Player from Orb, on Game from Laser.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 14 Oct 2013 12:12:52 +0200 |
parents | 8038f1957b71 |
children | 53fa73932e9a |
line wrap: on
line diff
--- a/pytouhou/game/laser.pxd +++ b/pytouhou/game/laser.pxd @@ -1,6 +1,5 @@ from pytouhou.game.element cimport Element from pytouhou.game.sprite cimport Sprite -from pytouhou.game.game cimport Game from pytouhou.game.lasertype cimport LaserType cdef enum State: @@ -21,7 +20,6 @@ cdef class Laser(Element): cdef unsigned long grazing_extra_duration, sprite_idx_offset cdef double base_pos[2], speed, start_offset, end_offset, max_length, width cdef State state - cdef Game _game cdef LaserType _laser_type cdef void set_anim(self, long sprite_idx_offset=*) except *