comparison pytouhou/game/item.pxd @ 472:8038f1957b71

Type bullettype, itemtype and lasertype a bit.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 16 Sep 2013 18:42:04 +0200
parents feecdb4a8928
children 3d3285918ba1
comparison
equal deleted inserted replaced
471:06f0eeb519bb 472:8038f1957b71
1 from pytouhou.game.element cimport Element 1 from pytouhou.game.element cimport Element
2 from pytouhou.game.game cimport Game 2 from pytouhou.game.game cimport Game
3 from pytouhou.game.player cimport Player 3 from pytouhou.game.player cimport Player
4 from pytouhou.game.itemtype cimport ItemType
4 from pytouhou.utils.interpolator cimport Interpolator 5 from pytouhou.utils.interpolator cimport Interpolator
5 6
6 7
7 cdef class Indicator(Element): 8 cdef class Indicator(Element):
8 cdef Item _item 9 cdef Item _item
9 10
10 cdef void update(self) nogil 11 cdef void update(self) nogil
11 12
12 13
13 cdef class Item(Element): 14 cdef class Item(Element):
14 cdef public object _item_type 15 cdef public ItemType _item_type
15 16
16 cdef unsigned long frame 17 cdef unsigned long frame
17 cdef long _type 18 cdef long _type
18 cdef double angle, speed 19 cdef double angle, speed
19 cdef Game _game 20 cdef Game _game