コード例 #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);
        }