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