comparison pytouhou/game/enemy.py @ 282:dbb1a86c0235

Rename Animations to ANM0 and prepare AnmWrapper for dialogs and interface.
author Thibaut Girka <thib@sitedethib.com>
date Sat, 11 Feb 2012 16:43:54 +0100
parents 219edad0f395
children 94c636f8f863
comparison
equal deleted inserted replaced
281:13dcde917083 282:dbb1a86c0235
385 if self.touchable: 385 if self.touchable:
386 self.check_collisions() 386 self.check_collisions()
387 387
388 for anm in self.aux_anm: 388 for anm in self.aux_anm:
389 if anm: 389 if anm:
390 anm.x = self.x 390 anm.x, anm.y = self.x, self.y
391 anm.y = self.y
392 anm.update() 391 anm.update()
393 392
394 self.frame += 1 393 self.frame += 1
395 394