Exemple #1
0
 public static void RemoveScreen(GameScreen toRemove)
 {
     toRemove.UnloadContent();
     ScreenStack.Remove(toRemove);
 }
Exemple #2
0
 public static void RemoveScreen(GameScreen toRemove)
 {
     toRemove.UnloadContent();
     ScreenStack.Remove(toRemove);
 }
Exemple #3
0
 public static void AddScreen(GameScreen toAdd)
 {
     toAdd.Initialize();
     toAdd.LoadContent();
     ScreenStack.Add(toAdd);
 }
Exemple #4
0
 public static void AddScreen(GameScreen toAdd)
 {
     toAdd.Initialize();
     toAdd.LoadContent();
     ScreenStack.Add(toAdd);
 }