comparison pytouhou/game/face.py @ 433:1222341ea22c

Always run the first frame of an ANMRunner.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 11 Aug 2013 14:23:50 +0200
parents c9433188ffdb
children b9d2db93972f
comparison
equal deleted inserted replaced
432:d4874ebaa06e 433:1222341ea22c
39 self.anmrunner.interrupt(effect) 39 self.anmrunner.interrupt(effect)
40 40
41 41
42 def load(self, index): 42 def load(self, index):
43 self.sprite.anm, self.sprite.texcoords = self._anms[self.side][index] 43 self.sprite.anm, self.sprite.texcoords = self._anms[self.side][index]
44 self.anmrunner.run_frame()
45 44
46 45
47 def update(self): 46 def update(self):
48 self.anmrunner.run_frame() 47 self.anmrunner.run_frame()