示例#1
0
        public ShooterNew()
        {
            _ship = new ShooterShipNew(50, (float)_width/2);

            _shipStuff = new List<ShooterGameObjectNew> {_ship};

            _levels = new List<ShooterLevelNew>();

            _herdList = new List<ShooterHerdNew>();

            //remove later
            StartGame(0);
        }
示例#2
0
        public bool GameLost()
        {
            if (_ship.IsDead())
            {
                _lives--;
                _ship = new ShooterShipNew(50, _width/2);
            }

            if (_lives < 0)
            {
                return true;
            }
            return false;
        }
示例#3
0
 public void ResetGame()
 {
     _ship = new ShooterShipNew((float)_width/2, 50);
 }