예제 #1
0
 internal GuiDrawScreenEventArgs(GuiScreen screen, GameTime gameTime)
 {
     Screen   = screen;
     GameTime = gameTime;
 }
예제 #2
0
 public void RemoveScreen(GuiScreen screen)
 {
     Screens.Remove(screen);
 }
예제 #3
0
 public bool HasScreen(GuiScreen screen)
 {
     return(Screens.Contains(screen));
 }
예제 #4
0
 public void AddScreen(GuiScreen screen)
 {
     screen.Init(GuiRenderer);
     screen.UpdateSize(ScaledResolution.ScaledWidth, ScaledResolution.ScaledHeight);
     Screens.Add(screen);
 }