comparison pytouhou/game/enemy.pxd @ 564:a0fa01cd9f70

Make Enemy.get_angle able to target any Element, not only Player.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 12 Jun 2014 18:41:01 +0200
parents bcff39c920ab
children 3c2f96f1d715
comparison
equal deleted inserted replaced
563:ab0a5580bc40 564:a0fa01cd9f70
37 double angle, speed, start_offset, end_offset, max_length, 37 double angle, speed, start_offset, end_offset, max_length,
38 width, start_duration, duration, end_duration, 38 width, start_duration, duration, end_duration,
39 grazing_delay, grazing_extra_duration, unknown, 39 grazing_delay, grazing_extra_duration, unknown,
40 tuple offset=*) 40 tuple offset=*)
41 cpdef Player select_player(self, list players=*) 41 cpdef Player select_player(self, list players=*)
42 cpdef double get_player_angle(self, tuple pos=*, Player player=*) except 42 42 cpdef double get_angle(self, Element target, tuple pos=*) except 42
43 cpdef set_anim(self, index) 43 cpdef set_anim(self, index)
44 cdef void die_anim(self) except * 44 cdef void die_anim(self) except *
45 cdef void drop_particles(self, long number, long color) except * 45 cdef void drop_particles(self, long number, long color) except *
46 cpdef set_aux_anm(self, long number, long index) 46 cpdef set_aux_anm(self, long number, long index)
47 cpdef set_pos(self, double x, double y, double z) 47 cpdef set_pos(self, double x, double y, double z)