public GamePaused(GameRunning aCurrentGame) { if (Score.GetInstance().TrueVictory()) { GalagaBus.GetBus().RegisterEvent( GameEventFactory <object> .CreateGameEventForAllProcessors( GameEventType.GameStateEvent, this, "CHANGE_STATE", "GAME_OVER", ""));; } currentGame = aCurrentGame; maxMenuButtons = menuButtons.Length; buttonSelectImage.Shape.Rotate(0.5f * (float)Math.PI); }
public GameOver(GameRunning aCurrentGame) { maxMenuButtons = menuButtons.Length; score = Score.GetInstance().GetScore(); }