static void Main() { using (var game = new PlatformerEditor()) { Action endCb = ConsoleManager.Start(); game.Run(); endCb(); } }