comparison pytouhou/game/sprite.py @ 150:4f46717390aa

Introduce items, implement ECL instruction 83
author Thibaut Girka <thib@sitedethib.com>
date Tue, 04 Oct 2011 23:09:41 +0200
parents 174324a4da51
children d3ba32a9096e
comparison
equal deleted inserted replaced
149:3673d55a8448 150:4f46717390aa
25 'rotations_speed_3d', 'corner_relative_placement', 'frame', 25 'rotations_speed_3d', 'corner_relative_placement', 'frame',
26 'color', 'alpha', '_rendering_data') 26 'color', 'alpha', '_rendering_data')
27 def __init__(self, width_override=0, height_override=0): 27 def __init__(self, width_override=0, height_override=0):
28 self.anm = None 28 self.anm = None
29 self._removed = False 29 self._removed = False
30 self._changed = False 30 self._changed = True
31 31
32 self.width_override = width_override 32 self.width_override = width_override
33 self.height_override = height_override 33 self.height_override = height_override
34 self.angle = 0 34 self.angle = 0
35 self.force_rotation = False 35 self.force_rotation = False