Пример #1
0
 void AddTest(IMyGameWindow window, string name)
 {
     tests.Add(new Test()
     {
         window = window, name = name
     });
 }
Пример #2
0
 private void MainMenu()
 {
     currentTest = new ListOfTests() { window = this, viewportsize = this };
     currentTest.OnLoad(null);
 }
Пример #3
0
 public MainGameWindow(IMyGameWindow mywindow)
     : base(800, 600, GraphicsMode.Default, "",
         ENABLE_FULLSCREEN ? GameWindowFlags.Fullscreen : GameWindowFlags.Default)
 {
     this.mywindow = mywindow;
 }
Пример #4
0
 public MainGameWindow(IMyGameWindow mywindow)
     : base(800, 600, GraphicsMode.Default, "",
            ENABLE_FULLSCREEN ? GameWindowFlags.Fullscreen : GameWindowFlags.Default)
 {
     this.mywindow = mywindow;
 }