comparison pytouhou/game/item.pyx @ 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 1c891c71cf22
comparison
equal deleted inserted replaced
471:06f0eeb519bb 472:8038f1957b71
31 self.x = self._item.x 31 self.x = self._item.x
32 32
33 33
34 34
35 cdef class Item(Element): 35 cdef class Item(Element):
36 def __init__(self, start_pos, long _type, item_type, Game game, double angle=pi/2, Player player=None, end_pos=None): 36 def __init__(self, start_pos, long _type, ItemType item_type, Game game, double angle=pi/2, Player player=None, end_pos=None):
37 Element.__init__(self, start_pos) 37 Element.__init__(self, start_pos)
38 38
39 self._game = game 39 self._game = game
40 self._type = _type 40 self._type = _type
41 self._item_type = item_type 41 self._item_type = item_type