Mercurial > touhou
comparison pytouhou/game/enemy.py @ 105:572740acdb25
A few changes in the execution order to match 102h.exe
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Mon, 05 Sep 2011 17:18:47 +0200 |
parents | 6c59d0eeb5fa |
children | c7847bfed427 |
comparison
equal
deleted
inserted
replaced
104:6c59d0eeb5fa | 105:572740acdb25 |
---|---|
130 | 130 |
131 | 131 |
132 def set_anim(self, index): | 132 def set_anim(self, index): |
133 self._sprite = Sprite() | 133 self._sprite = Sprite() |
134 self._anmrunner = ANMRunner(self._anm_wrapper, index, self._sprite) | 134 self._anmrunner = ANMRunner(self._anm_wrapper, index, self._sprite) |
135 self._anmrunner.run_frame() | |
135 | 136 |
136 | 137 |
137 def set_pos(self, x, y, z): | 138 def set_pos(self, x, y, z): |
138 self.x, self.y = x, y | 139 self.x, self.y = x, y |
139 self.interpolator = Interpolator((x, y)) | 140 self.interpolator = Interpolator((x, y)) |