Mercurial > touhou
diff pytouhou/game/enemy.pxd @ 545:bcff39c920ab
Set boss mode directly from the enemy.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 15 May 2014 20:14:54 +0200 |
parents | 292fea5c584e |
children | a0fa01cd9f70 |
line wrap: on
line diff
--- a/pytouhou/game/enemy.pxd +++ b/pytouhou/game/enemy.pxd @@ -47,6 +47,7 @@ cdef class Enemy(Element): cpdef set_pos(self, double x, double y, double z) cpdef move_to(self, unsigned long duration, double x, double y, double z, formula) cpdef stop_in(self, unsigned long duration, formula) + cpdef set_boss(self, bint enable) cdef bint is_visible(self, long screen_width, long screen_height) except? False cdef void check_collisions(self) except * cdef void handle_callbacks(self) except *