diff pytouhou/vm/eclrunner.py @ 471:06f0eeb519bb

Make Laser and Orb extension types, and use that where possible.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 16 Sep 2013 18:42:04 +0200
parents 4ccc47828002
children 59bd29568753
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py
+++ b/pytouhou/vm/eclrunner.py
@@ -728,7 +728,7 @@ class ECLRunner(object):
         except KeyError:
             pass #TODO
         else:
-            laser.base_pos = self._enemy.x + ox, self._enemy.y + oy
+            laser.set_base_pos(self._enemy.x + ox, self._enemy.y + oy)
 
 
     @instruction(92)