public void RemoveScreen(GameScreen gameScreen)
 {
     _screens.Remove(gameScreen);
     _screensToUpdate.Remove(gameScreen);
 }
Exemple #2
0
 public void RemoveScreen(GameScreen gameScreen)
 {
     _screens.Remove(gameScreen);
     _screensToUpdate.Remove(gameScreen);
 }
 public void AddScreen(GameScreen gameScreen)
 {
     gameScreen.ScreenManager = this;
     _screens.Add(gameScreen);
 }
Exemple #4
0
 public void AddScreen(GameScreen gameScreen)
 {
     gameScreen.ScreenManager = this;
     _screens.Add(gameScreen);
 }