comparison pytouhou/game/enemymanager.py @ 46:25ca15f714ad

Add/fix a few opcodes
author Thibaut Girka <thib@sitedethib.com>
date Mon, 22 Aug 2011 10:49:49 +0200
parents 1b0ca2fb89f9
children 8353c33d53d4
comparison
equal deleted inserted replaced
45:e01e88b06a13 46:25ca15f714ad
63 63
64 def set_sprite(self, sprite_index): 64 def set_sprite(self, sprite_index):
65 self.anm, self.sprite = self.anm_wrapper.get_sprite(sprite_index) 65 self.anm, self.sprite = self.anm_wrapper.get_sprite(sprite_index)
66 66
67 67
68 def set_multiple_sprites(self, default, end_left, end_right, left, right, unknown): 68 def set_multiple_sprites(self, default, end_left, end_right, left, right):
69 self.movement_dependant_sprites = end_left, end_right, left, right, unknown 69 self.movement_dependant_sprites = end_left, end_right, left, right
70 self.anm, self.sprite = self.anm_wrapper.get_sprite(default) 70 self.anm, self.sprite = self.anm_wrapper.get_sprite(default)
71 71
72 72
73 def set_angle_speed(self, angle, speed): 73 def set_angle_speed(self, angle, speed):
74 self.angle, self.speed = angle, speed 74 self.angle, self.speed = angle, speed