Mercurial > touhou
comparison pytouhou/game/bullet.pxd @ 492:887de1309491
Add friendly fire in netplay.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 21 Sep 2013 20:26:39 +0200 |
parents | 8038f1957b71 |
children | 3c2f96f1d715 |
comparison
equal
deleted
inserted
replaced
491:2276229282fd | 492:887de1309491 |
---|---|
10 | 10 |
11 cdef class Bullet(Element): | 11 cdef class Bullet(Element): |
12 cdef public State state | 12 cdef public State state |
13 cdef public unsigned long flags, frame, sprite_idx_offset, damage | 13 cdef public unsigned long flags, frame, sprite_idx_offset, damage |
14 cdef public double dx, dy, angle, speed | 14 cdef public double dx, dy, angle, speed |
15 cdef public bint player_bullet, was_visible, grazed | 15 cdef public bint was_visible, grazed |
16 cdef public Element target | 16 cdef public Element target |
17 cdef public BulletType _bullet_type | 17 cdef public BulletType _bullet_type |
18 cdef public list attributes | 18 cdef public list attributes |
19 | 19 |
20 cdef double hitbox[2] | 20 cdef double hitbox[2] |
21 cdef Interpolator speed_interpolator | 21 cdef Interpolator speed_interpolator |
22 cdef Game _game | 22 cdef Game _game |
23 cdef long player | |
23 | 24 |
24 cdef bint is_visible(self, unsigned int screen_width, unsigned int screen_height) except? False | 25 cdef bint is_visible(self, unsigned int screen_width, unsigned int screen_height) except? False |
25 cpdef set_anim(self, sprite_idx_offset=*) | 26 cpdef set_anim(self, sprite_idx_offset=*) |
26 cdef void launch(self) except * | 27 cdef void launch(self) except * |
27 cdef void collide(self) except * | 28 cdef void collide(self) except * |