public override void ShootMissile(ShipLeaf Ship) { ShipMan.InitializeBullet(); SoundMan.Play(SoundName.Shoot); // switch states Handle(Ship); }
private void Update() { if (gameStart && !soundMan.IsPlaying("BossMusic")) { soundMan.Play("BossMusic"); } ControlCheck(); if (Input.GetButtonDown("Debug")) { if (debug) { debug = false; } else { debug = true; } } DebugButtons(); if (gameTime < 0) { gameTime = 0; } }