static void Main(string[] args) { EndogineHub endogine = new EndogineHub(Application.ExecutablePath); Main main = new Main(); main.Show(); endogine.Init(main, null, null); main.EndogineInitDone(); Driver.Game game = new Driver.Game(); while (endogine.MainLoop()) Application.DoEvents(); }
static void Main(string[] args) { EndogineHub endogine = new EndogineHub(Application.ExecutablePath); Main main = new Main(); main.Show(); endogine.Init(main, null, null); main.EndogineInitDone(); Driver.Game game = new Driver.Game(); while (endogine.MainLoop()) { Application.DoEvents(); } }