public Engine(int screenWidth = 800, int screenHeight = 600, string window_name = "Aura Particle Simulator") { x = screenWidth; y = screenHeight; Instance = this; windowName = window_name; }
static void Main(string[] args) { //TestResults results = UnitTester.doUnitTest("testLog.txt"); //results.WriteToFile(); using (Engine e = new Engine()) { e.Run(); } }
public void Dispose() { Sdl.SDL_Quit(); screen = IntPtr.Zero; Instance = null; Disposed = true; Environment.Exit(0); }