comparison pytouhou/game/player.py @ 384:690b5faaa0e6

Make rendering of multiple-sprites elements work like single-sprites.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 02 Oct 2012 13:27:05 +0200
parents c25530efea3b
children dc6ed7b1c6de
comparison
equal deleted inserted replaced
383:0537af9125a7 384:690b5faaa0e6
83 83
84 84
85 @property 85 @property
86 def y(self): 86 def y(self):
87 return self.state.y 87 return self.state.y
88
89
90 def objects(self):
91 return []
92 88
93 89
94 def set_anim(self, index): 90 def set_anim(self, index):
95 self.sprite = Sprite() 91 self.sprite = Sprite()
96 self.anmrunner = ANMRunner(self.anm_wrapper, index, self.sprite) 92 self.anmrunner = ANMRunner(self.anm_wrapper, index, self.sprite)