Пример #1
0
 public void RemoveScreen(Screen screen)
 {
     screen.ScreenState = ScreenState.TransitioningOut;
 }
Пример #2
0
 public void AddScreen(Screen screen)
 {
     screen.Initialize();
     screens.Add(screen);
     screen.ScreenState = ScreenState.Inactive;
 }