public void RemoveScreen(GameScreen gameScreen) { _screens.Remove(gameScreen); _screensToUpdate.Remove(gameScreen); }
public void AddScreen(GameScreen gameScreen) { gameScreen.ScreenManager = this; _screens.Add(gameScreen); }