public void Push(IGameScreen gameScreen) { if (_gameScreens.Count > 0) { ActiveGameScreen.Deactivate(); } _gameScreens.Push(gameScreen); gameScreen.Activate(); }
public void Push(IGameScreen gameScreen) { if (_gameScreens.Count > 0) { ActiveGameScreen.Deactivate(); } _gameScreens.Push(gameScreen); gameScreen.Activate(); }