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