Exemple #1
0
 public Engine(int screenWidth = 800, int screenHeight = 600, string window_name = "Aura Particle Simulator")
 {
     x = screenWidth;
     y = screenHeight;
     Instance = this;
     windowName = window_name;
 }
Exemple #2
0
        static void Main(string[] args)
        {
            //TestResults results = UnitTester.doUnitTest("testLog.txt");
            //results.WriteToFile();

            using (Engine e = new Engine())
            {
                e.Run();
            }
        }
Exemple #3
0
 public void Dispose()
 {
     Sdl.SDL_Quit();
     screen = IntPtr.Zero;
     Instance = null;
     Disposed = true;
     Environment.Exit(0);
 }