diff 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
line wrap: on
line diff
--- a/pytouhou/game/enemy.py
+++ b/pytouhou/game/enemy.py
@@ -387,8 +387,7 @@ class Enemy(object):
 
         for anm in self.aux_anm:
             if anm:
-                anm.x = self.x
-                anm.y = self.y
+                anm.x, anm.y = self.x, self.y
                 anm.update()
 
         self.frame += 1