Exemplo n.º 1
0
        private void StartNewRound()
        {
            _enemyShipLastShown = DateTime.Now;
            _gameScoreKeeper.IncrementLevel();
            _photons = new Photon[20];
            _meteors = new List <Meteor>();

            _enemyShipShooterService = new EnemyShipShooterService(_enemyShip);

            for (int i = 0; i < _photons.Length; i++)
            {
                _photons[i] = new Photon();
            }

            _photons[0] = new TracerPhoton();

            for (int i = 0; i < 4 + _gameScoreKeeper.Level; i++)
            {
                _meteors.Add(new Meteor(new LargeMeteorType(), new Point(0, 0)));
            }
        }
Exemplo n.º 2
0
        private void StartNewRound()
        {
            _enemyShipLastShown = DateTime.Now;
            _gameScoreKeeper.IncrementLevel();
            _photons = new Photon[20];
            _meteors = new List<Meteor>();

            _enemyShipShooterService = new EnemyShipShooterService(_enemyShip);

            for(int i = 0; i < _photons.Length; i++)
            {
                _photons[i] = new Photon();
            }

            _photons[0] = new TracerPhoton();

            for (int i = 0; i < 4+ _gameScoreKeeper.Level; i++)
            {
                _meteors.Add( new Meteor(new LargeMeteorType(), new Point(0, 0)));
            }
        }