comparison pytouhou/vm/eclrunner.py @ 83:fc0294c745b6

Basic bullet handling! Clean up as soon as possible :p
author Thibaut Girka <thib@sitedethib.com>
date Sat, 03 Sep 2011 22:22:58 +0200
parents de48213a02bf
children fda176f07d6d
comparison
equal deleted inserted replaced
82:de48213a02bf 83:fc0294c745b6
493 self._getval(launch_angle), 493 self._getval(launch_angle),
494 self._getval(angle), 494 self._getval(angle),
495 flags) 495 flags)
496 496
497 497
498 @instruction(74)
499 def set_bullet_attributes6(self, anim, sprite_idx_offset, bullets_per_shot,
500 number_of_shots, speed, speed2, launch_angle,
501 angle, flags):
502 #TODO
503 self._enemy.set_bullet_attributes(74, anim,
504 self._getval(sprite_idx_offset),
505 self._getval(bullets_per_shot),
506 self._getval(number_of_shots),
507 self._getval(speed),
508 self._getval(speed2),
509 self._getval(launch_angle),
510 self._getval(angle),
511 flags)
512
513
514 @instruction(75)
515 def set_bullet_attributes6(self, anim, sprite_idx_offset, bullets_per_shot,
516 number_of_shots, speed, speed2, launch_angle,
517 angle, flags):
518 #TODO
519 self._enemy.set_bullet_attributes(75, anim,
520 self._getval(sprite_idx_offset),
521 self._getval(bullets_per_shot),
522 self._getval(number_of_shots),
523 self._getval(speed),
524 self._getval(speed2),
525 self._getval(launch_angle),
526 self._getval(angle),
527 flags)
528
529
498 @instruction(76) 530 @instruction(76)
499 def set_bullet_interval(self, value): 531 def set_bullet_interval(self, value):
500 self._enemy.bullet_launch_interval = value 532 self._enemy.bullet_launch_interval = value
501 533
502 534