comparison pytouhou/vm/eclrunner.py @ 78:bcf965ede96c

Fix/rename/comment a few things
author Thibaut Girka <thib@sitedethib.com>
date Wed, 31 Aug 2011 13:51:42 +0200
parents 6fa6d74a049a
children ffe2c2b9912c
comparison
equal deleted inserted replaced
77:6fa6d74a049a 78:bcf965ede96c
429 bullets_per_shot, number_of_shots, 429 bullets_per_shot, number_of_shots,
430 speed, unknown, launch_angle, angle, 430 speed, unknown, launch_angle, angle,
431 flags) 431 flags)
432 432
433 433
434 @instruction(77) 434 @instruction(76)
435 def set_bullet_interval(self, value): 435 def set_bullet_interval(self, value):
436 self._enemy.bullet_launch_interval = value 436 self._enemy.bullet_launch_interval = value
437
438
439 @instruction(77)
440 def set_bullet_interval_ex(self, value):
441 self.set_bullet_interval(value)
442 #TODO: set counter to random() * bullet_launch_interval
437 443
438 444
439 @instruction(78) 445 @instruction(78)
440 def set_delay_attack(self): 446 def set_delay_attack(self):
441 self._enemy.delay_attack = True 447 self._enemy.delay_attack = True