public static void OnLaserShotCompleteSignal(LaserBeams aLaserBeam) { if (onLaserShotComplete != null) { onLaserShotComplete(aLaserBeam); } }
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(); }
public void AddBeamToList(LaserBeams aLaserBeam) { laserBeams.Add(aLaserBeam); }