Inheritance: GameScreen
Esempio n. 1
0
 /// <summary>
 /// Constructs a new MainMenu object.
 /// </summary>
 public MainMenuScreen(ScummScreen screen)
 {
     this._screen = screen;
     // set the transition times
     TransitionOnTime  = TimeSpan.FromSeconds(1.0);
     TransitionOffTime = TimeSpan.FromSeconds(1.0);
     UpdateMenus();
 }
Esempio n. 2
0
 /// <summary>
 /// Constructs a new MainMenu object.
 /// </summary>
 public MainMenuScreen(ScummScreen screen)
 {
     this._screen = screen;
     // set the transition times
     TransitionOnTime = TimeSpan.FromSeconds(1.0);
     TransitionOffTime = TimeSpan.FromSeconds(1.0);
     UpdateMenus();
 }