Mercurial > touhou
changeset 361:b55939b4b40d
Rename set_visible to set_invisible, since it's what it does...
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Mon, 09 Jul 2012 21:11:46 +0200 |
parents | d55a1843b2a7 |
children | 3be4c1078095 |
files | pytouhou/vm/eclrunner.py |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py +++ b/pytouhou/vm/eclrunner.py @@ -1097,12 +1097,12 @@ class ECLRunner(object): self._enemy.aux_anm[number].anmrunner.interrupt(event) - @instruction(132) - def set_visible(self, value): - self._enemy.visible = not bool(value) - - @instruction(131) def set_difficulty_coeffs(self, speed_a, speed_b, nb_a, nb_b, shots_a, shots_b): self._enemy.difficulty_coeffs = (speed_a, speed_b, nb_a, nb_b, shots_a, shots_b) + + @instruction(132) + def set_invisible(self, value): + self._enemy.visible = not bool(value) +