Exemple #1
0
 public void AddScreen(Screen screen)
 {
     screen.ScreenState = ScreenStates.TransitionIn;
     screen.Initialize();
     screen.LoadContent();
     screens.AddFirst(screen);
 }
Exemple #2
0
 public void RemoveScreen(Screen screen)
 {
     screen.UnloadContent();
     screens.Remove(screen);
 }