public void Start() { Game = new EGOR(egorGameControl1.Width, egorGameControl1.Height); Game.Run(new GameContext(egorGameControl1, egorGameControl1.Width, egorGameControl1.Height) { UseApplicationDoEvents = true }); }
static void Main() { using (var game = new EGOR(1280, 720)) game.Run(); }