public void GameStateBecome(IGameState newGameState) { if (CurrentGameState.CanBecome(newGameState)) { SetGameStatusForNewState(newGameState); newGameState.Become(CurrentGameState); SetDisplayForAcrossAndDownControls(); } }
public void GameStateBecome(IGameState newGameState) { if (CurrentGameState.CanBecome(newGameState)) { SetGameStatusForNewState(newGameState); newGameState.Become(CurrentGameState); SetDisplayForAcrossAndDownControls(); } }