コード例 #1
0
        private void InitializeAllGameObjects(bool bScore)
        {
            InitializeShields();

            InitializeMan();

            if (bScore)
            {
                InitializeScore();
            }

            InitializeInvaderRows(TheLevel);

            CurrentSaucer = new Saucer("saucer0.gif", "saucer1.gif", "saucer2.gif");


            TheScore.GameOver = false;
            GameGoing         = true;
            TheSpeed          = 6;
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: brayanrp215/Recursos
        private void InitializeAllGameObjects(bool bScore)
        {
            InitializeShields();

            InitializeMan();

            InitializeLivesIndicator();

            if (bScore)
                InitializeScore();

            InitializeInvaderRows(TheLevel);

            CurrentSaucer = new Saucer("saucer0.gif", "saucer1.gif", "saucer2.gif");

            TheScore.GameOver = false;
            GameGoing = true;
            TheSpeed = 6;
        }