예제 #1
0
파일: Form1.cs 프로젝트: ICTSE1b5/KBS1
 private void Form1_Load(object sender, EventArgs e)
 {
     game_loop = new GameLoop(this, GameLoop.FrameRate.SIXTY, statisticsScreen1);
     game_view = new GameView(this, game_loop);
 }
예제 #2
0
파일: Form1.cs 프로젝트: ICTSE1b5/KBS1
        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);
        }