Mercurial > touhou
comparison pytouhou/game/laser.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 | 53fa73932e9a |
children | 3c2f96f1d715 |
comparison
equal
deleted
inserted
replaced
546:94dd9862c470 | 547:e35bef07290d |
---|---|
13 ## | 13 ## |
14 | 14 |
15 from libc.math cimport cos, sin, M_PI as pi | 15 from libc.math cimport cos, sin, M_PI as pi |
16 | 16 |
17 from pytouhou.game.game cimport Game | 17 from pytouhou.game.game cimport Game |
18 from pytouhou.vm.anmrunner import ANMRunner | 18 from pytouhou.vm import ANMRunner |
19 | 19 |
20 | 20 |
21 cdef class LaserLaunchAnim(Element): | 21 cdef class LaserLaunchAnim(Element): |
22 def __init__(self, Laser laser, anm, unsigned long index): | 22 def __init__(self, Laser laser, anm, unsigned long index): |
23 Element.__init__(self, (0, 0)) | 23 Element.__init__(self, (0, 0)) |