Mercurial > touhou
comparison pytouhou/game/game.pyx @ 466:b16d34fca5b4
Revert a change in 78e1c3864e73, causing boss rush to not destroy any standard enemy.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 12 Sep 2013 11:59:24 +0200 |
parents | 5f5955635d2c |
children | feecdb4a8928 |
comparison
equal
deleted
inserted
replaced
465:5f5955635d2c | 466:b16d34fca5b4 |
---|---|
454 if not (bx2 < px1 or bx1 > px2 | 454 if not (bx2 < px1 or bx1 > px2 |
455 or by2 < py1 or by1 > py2): | 455 or by2 < py1 or by1 > py2): |
456 item.on_collect(player) | 456 item.on_collect(player) |
457 | 457 |
458 | 458 |
459 cdef void cleanup(self): | 459 cpdef cleanup(self): |
460 cdef Enemy enemy | 460 cdef Enemy enemy |
461 cdef Bullet bullet | 461 cdef Bullet bullet |
462 cdef Item item | 462 cdef Item item |
463 cdef long i | 463 cdef long i |
464 | 464 |