Esempio n. 1
0
 /// <summary>
 /// Adds a GameScreen object to the top of the list, which makes
 /// it the de-facto "dominant" GameScreen object
 /// </summary>
 public void Push(GameScreen screen)
 {
     screens.Add(screen);
 }
Esempio n. 2
0
 /// <summary>
 /// Removes the provided Screen from the collection, removing any
 /// Screen objects sitting on top of it. Talk about this with Justin
 /// </summary>
 public void Pop(GameScreen screen)
 {
     screens.RemoveRange(screens.IndexOf(screen), screens.Count - 1);
 }
Esempio n. 3
0
 /// <summary>
 /// Removes the provided Screen from the collection, removing any
 /// Screen objects sitting on top of it. Talk about this with Justin
 /// </summary>
 public void Pop(GameScreen screen)
 {
     screens.RemoveRange(screens.IndexOf(screen), screens.Count - 1);
 }
Esempio n. 4
0
 /// <summary>
 /// Adds a GameScreen object to the top of the list, which makes
 /// it the de-facto "dominant" GameScreen object
 /// </summary>
 public void Push(GameScreen screen)
 {
     screens.Add(screen);
 }