comparison pytouhou/game/bullet.pyx @ 547:e35bef07290d

Always import runners from pytouhou.vm, to allow their replacement.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 08 Nov 2013 18:47:00 +0100
parents db28538cd399
children f1be00de4b3f
comparison
equal deleted inserted replaced
546:94dd9862c470 547:e35bef07290d
12 ## GNU General Public License for more details. 12 ## GNU General Public License for more details.
13 ## 13 ##
14 14
15 from libc.math cimport cos, sin, atan2, M_PI as pi 15 from libc.math cimport cos, sin, atan2, M_PI as pi
16 16
17 from pytouhou.vm.anmrunner import ANMRunner 17 from pytouhou.vm import ANMRunner
18 from pytouhou.game.sprite cimport Sprite 18 from pytouhou.game.sprite cimport Sprite
19 19
20 20
21 cdef class Bullet(Element): 21 cdef class Bullet(Element):
22 def __init__(self, pos, BulletType bullet_type, unsigned long sprite_idx_offset, 22 def __init__(self, pos, BulletType bullet_type, unsigned long sprite_idx_offset,