comparison pytouhou/game/game.pxd @ 471:06f0eeb519bb

Make Laser and Orb extension types, and use that where possible.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 16 Sep 2013 18:42:04 +0200
parents feecdb4a8928
children 1c891c71cf22
comparison
equal deleted inserted replaced
470:98995d8ac744 471:06f0eeb519bb
19 cdef void set_player_bomb(self) except * 19 cdef void set_player_bomb(self) except *
20 cdef void unset_player_bomb(self) except * 20 cdef void unset_player_bomb(self) except *
21 cpdef drop_bonus(self, double x, double y, long _type, end_pos=*) 21 cpdef drop_bonus(self, double x, double y, long _type, end_pos=*)
22 cdef void autocollect(self, Player player) except * 22 cdef void autocollect(self, Player player) except *
23 cdef void cancel_bullets(self) except * 23 cdef void cancel_bullets(self) except *
24 cdef void cancel_player_lasers(self) except *
24 cpdef change_bullets_into_star_items(self) 25 cpdef change_bullets_into_star_items(self)
25 cpdef change_bullets_into_bonus(self) 26 cpdef change_bullets_into_bonus(self)
26 cpdef kill_enemies(self) 27 cpdef kill_enemies(self)
27 cpdef new_effect(self, pos, long anim, anm=*, long number=*) 28 cpdef new_effect(self, pos, long anim, anm=*, long number=*)
28 cpdef new_particle(self, pos, long anim, long amp, long number=*, bint reverse=*, long duration=*) 29 cpdef new_particle(self, pos, long anim, long amp, long number=*, bint reverse=*, long duration=*)