Mercurial > touhou
diff pytouhou/game/enemy.py @ 156:ebfd328e700c
Rename a few functions, move a few things around...
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Mon, 10 Oct 2011 18:34:36 +0200 |
parents | 364935f6e313 |
children | 7769ce7be03c |
line wrap: on
line diff
--- a/pytouhou/game/enemy.py +++ b/pytouhou/game/enemy.py @@ -147,12 +147,10 @@ class Enemy(object): self._anmrunner.run_frame() - def collide(self, player): - if self.touchable: - #TODO: animation - #TODO: doesn’t always kill herself (a boss for example), search how - self._removed = True - player.die() + def collide(self): + #TODO: animation + #TODO: doesn’t always kill herself (a boss for example), search how + self._removed = True def killed(self):