Exemplo n.º 1
0
 public PositronGame(ThreadedRendering window)
 {
     _Window = window;
     // TODO: world objects need to be pending initialization before the world is controlled by the scene
     FarseerPhysics.Settings.VelocityIterations = 1;
     InputAccepterGroups = new OrderedDictionary();
     SetupScenes();
     //_CurrentScene = (Scene)_Scenes["SceneFirstMenu"];
 }
Exemplo n.º 2
0
 public PositronGame(ThreadedRendering window)
 {
     _Window = window;
     // TODO: world objects need to be pending initialization before the world is controlled by the scene
     FarseerPhysics.Settings.VelocityIterations = 1;
     InputAccepterGroups = new OrderedDictionary();
     SetupScenes();
     //_CurrentScene = (Scene)_Scenes["SceneFirstMenu"];
 }
Exemplo n.º 3
0
Arquivo: Main.cs Projeto: qwook/hungry
 public static void Main()
 {
     // Instantiate the main window
     // this also sets up OpenGL
     var main_window = new ThreadedRendering ();
     // Prepare game resources
     // This makes OpenGL calls
     PositronGame.InitialSetup ();
     // TEST: Dump all the settings:
     //Configuration.DumpEverything ();
     // Run the window thread
     // Game will be set up by render/update thread -because reasons-
     main_window.Run ();
 }
Exemplo n.º 4
0
        public static void Main()
        {
            // Instantiate the main window
            // this also sets up OpenGL
            var main_window = new ThreadedRendering();

            // Prepare game resources
            // This makes OpenGL calls
            PositronGame.InitialSetup();
            // TEST: Dump all the settings:
            //Configuration.DumpEverything ();
            // Run the window thread
            // Game will be set up by render/update thread -because reasons-
            main_window.Run();
        }