Esempio n. 1
0
 public static void OnLaserShotCompleteSignal(LaserBeams aLaserBeam)
 {
     if (onLaserShotComplete != null)
     {
         onLaserShotComplete(aLaserBeam);
     }
 }
Esempio n. 2
0
 public Spacecraft(float accelration, Vector2 position, Vector2 velocity, float rotation, float scale, float friction)
     : base(position, velocity, rotation, scale)
 {
     this.accelration = accelration;
     this.friction = friction;
     CurrentImageRect = new Rectangle(0, 0, 50, 70);
     laserBeams = new LaserBeams();
 }
Esempio n. 3
0
 public void AddBeamToList(LaserBeams aLaserBeam)
 {
     laserBeams.Add(aLaserBeam);
 }