private void Form1_Load(object sender, EventArgs e) { game_loop = new GameLoop(this, GameLoop.FrameRate.SIXTY, statisticsScreen1); game_view = new GameView(this, game_loop); }
public void StartGame(string level) { game_loop = new GameLoop(this, GameLoop.FrameRate.SIXTY, statisticsScreen1); game_view = new GameView(this, game_loop); if (optionsMenu.Get_CheckBox_Statistics().Checked) { statisticsScreen1.Visible = true; statisticsScreen1.Enabled = true; Width = 1040; //statisticsScreen1.DrawPanel(game_loop.GameEntities); } game_loop.Start(level); }