comparison pytouhou/game/sprite.py @ 61:0886994029e4

Fix toggle_mirror.
author Thibaut Girka <thib@sitedethib.com>
date Wed, 24 Aug 2011 21:14:07 +0200
parents 3da4de9decd0
children a142e57218a0
comparison
equal deleted inserted replaced
60:af7914413b89 61:0886994029e4
132 self.color = (r, g, b) 132 self.color = (r, g, b)
133 elif instr_type == 5: 133 elif instr_type == 5:
134 self.instruction_pointer, = args 134 self.instruction_pointer, = args
135 self.frame = script[self.instruction_pointer][0] 135 self.frame = script[self.instruction_pointer][0]
136 elif instr_type == 7: 136 elif instr_type == 7:
137 self.mirrored = True 137 self.mirrored = not self.mirrored
138 elif instr_type == 9: 138 elif instr_type == 9:
139 self.rotations_3d = args 139 self.rotations_3d = args
140 elif instr_type == 10: 140 elif instr_type == 10:
141 self.rotations_speed_3d = args 141 self.rotations_speed_3d = args
142 elif instr_type == 11: 142 elif instr_type == 11: