Mercurial > touhou
changeset 68:a2459defd4b6
Minor cleanup
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Fri, 26 Aug 2011 22:53:15 +0200 |
parents | e2cb9d434dc2 |
children | a142e57218a0 |
files | pytouhou/game/enemymanager.py |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/pytouhou/game/enemymanager.py +++ b/pytouhou/game/enemymanager.py @@ -180,12 +180,9 @@ class Enemy(object): if x < self.x and self.direction != -1: self.set_anim(left) self.direction = -1 - print('left') elif x > self.x and self.direction != +1: self.set_anim(right) self.direction = +1 - print(left, right) - print('right') elif x == self.x and self.direction is not None: self.set_anim({-1: end_left, +1: end_right}[self.direction]) self.direction = None