public GameController(Form form, GameLoop loop) { game_Form = form; game_Loop = loop; game_ObjectList = new List<GameObject>(); }
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); }
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 GameView(Form form, GameLoop loop) { game_Form = form; game_loop = loop; }