Mercurial > touhou
comparison pytouhou/game/orb.pxd @ 495:b32cef75df59
Drop an useless dependency on Player from Orb, on Game from Laser.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 14 Oct 2013 12:12:52 +0200 |
parents | 6be9c99a3a24 |
children |
comparison
equal
deleted
inserted
replaced
494:6be9c99a3a24 | 495:b32cef75df59 |
---|---|
1 from pytouhou.game.element cimport Element | 1 from pytouhou.game.element cimport Element |
2 from pytouhou.game.sprite cimport Sprite | 2 from pytouhou.game.sprite cimport Sprite |
3 from pytouhou.game.player cimport Player | |
4 | 3 |
5 cdef class Orb(Element): | 4 cdef class Orb(Element): |
6 cdef public double offset_x, offset_y | 5 cdef public double offset_x, offset_y |
7 cdef Player player | 6 cdef Element player |
8 cdef object fire | 7 cdef object fire |
9 | 8 |
10 cpdef update(self) | 9 cpdef update(self) |