Ejemplo n.º 1
0
 public GameController(Form form, GameLoop loop)
 {
     game_Form = form;
     game_Loop = loop;
     game_ObjectList = new List<GameObject>();
 }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
 private void Form1_Load(object sender, EventArgs e)
 {
     game_loop = new GameLoop(this, GameLoop.FrameRate.SIXTY, statisticsScreen1);
     game_view = new GameView(this, game_loop);
 }
Ejemplo n.º 4
0
 public GameView(Form form, GameLoop loop)
 {
     game_Form = form;
     game_loop = loop;
 }