Mercurial > touhou
comparison pytouhou/game/item.pxd @ 447:78e1c3864e73
Make pytouhou.game.game an extension type.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 17 Aug 2013 06:29:53 +0200 |
parents | 3a33ed7f3b85 |
children | feecdb4a8928 |
comparison
equal
deleted
inserted
replaced
446:3a33ed7f3b85 | 447:78e1c3864e73 |
---|---|
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.player cimport Player | 3 from pytouhou.game.player cimport Player |
3 from pytouhou.utils.interpolator cimport Interpolator | 4 from pytouhou.utils.interpolator cimport Interpolator |
4 | 5 |
5 | 6 |
6 cdef class Indicator(Element): | 7 cdef class Indicator(Element): |
10 | 11 |
11 | 12 |
12 cdef class Item(Element): | 13 cdef class Item(Element): |
13 cdef public object _item_type | 14 cdef public object _item_type |
14 | 15 |
15 cdef object _game | |
16 cdef unsigned long frame | 16 cdef unsigned long frame |
17 cdef long _type | 17 cdef long _type |
18 cdef double angle, speed | 18 cdef double angle, speed |
19 cdef Game _game | |
19 cdef Player player | 20 cdef Player player |
20 cdef Indicator indicator | 21 cdef Indicator indicator |
21 cdef Interpolator speed_interpolator, pos_interpolator | 22 cdef Interpolator speed_interpolator, pos_interpolator |
22 | 23 |
23 cpdef autocollect(self, Player player) | 24 cpdef autocollect(self, Player player) |