public static void Run() { DemoStarter starter = new DemoStarter(); var game = AGSGame.Create(starter.Settings); starter.StartGame(game); game.Start(); }
public static void Run() { DemoStarter starter = new DemoStarter(); var game = AGSGame.CreateEmpty(); _gameDebugView = new Lazy <GameDebugView>(() => { var gameDebugView = new GameDebugView(game, new KeyboardBindings(game.Input)); gameDebugView.Load(); return(gameDebugView); }); starter.StartGame(game); game.Start(new AGSGameSettings("Demo Game", new AGS.API.Size(320, 200), windowSize: new AGS.API.Size(640, 400), windowState: WindowState.Normal)); }