comparison pytouhou/vm/eclrunner.py @ 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
comparison
equal deleted inserted replaced
360:d55a1843b2a7 361:b55939b4b40d
1095 @instruction(129) 1095 @instruction(129)
1096 def interrupt_aux(self, number, event): 1096 def interrupt_aux(self, number, event):
1097 self._enemy.aux_anm[number].anmrunner.interrupt(event) 1097 self._enemy.aux_anm[number].anmrunner.interrupt(event)
1098 1098
1099 1099
1100 @instruction(132)
1101 def set_visible(self, value):
1102 self._enemy.visible = not bool(value)
1103
1104
1105 @instruction(131) 1100 @instruction(131)
1106 def set_difficulty_coeffs(self, speed_a, speed_b, nb_a, nb_b, shots_a, shots_b): 1101 def set_difficulty_coeffs(self, speed_a, speed_b, nb_a, nb_b, shots_a, shots_b):
1107 self._enemy.difficulty_coeffs = (speed_a, speed_b, nb_a, nb_b, shots_a, shots_b) 1102 self._enemy.difficulty_coeffs = (speed_a, speed_b, nb_a, nb_b, shots_a, shots_b)
1108 1103
1104
1105 @instruction(132)
1106 def set_invisible(self, value):
1107 self._enemy.visible = not bool(value)
1108