private void CreateLaserBeam() { Model laserBeamModel = Game.Content.Load <Model>(@"Models\Weapons\laserbeam"); laserBeam = new LaserBeam(laserBeamModel, camera); audio.PlayCue("laser"); }
private void RemoveLaserBeam() { Console.WriteLine("Removing laser beam..."); laserBeam.IsAlive = false; laserBeam = null; }
private void CreateLaserBeam() { Model laserBeamModel = Game.Content.Load<Model>(@"Models\Weapons\laserbeam"); laserBeam = new LaserBeam(laserBeamModel, camera); audio.PlayCue("laser"); }