/// <summary>
        /// initialize the player info
        /// </summary>
        private void InitializeMission()
        {
            Player pirate = _gameConsoleView.GetInitialPirateInfo();

            // player information
            _gamePirate.Age              = pirate.Age;
            _gamePirate.Gender           = pirate.Gender;
            _gamePirate.Personality      = pirate.Personality;
            _gamePirate.Name             = _gameConsoleView.GetPirateName(pirate, PlayerAction.None, _currentLocation);
            _gamePirate.IslandLocationId = 1;

            ////player information
            //_gamePirate.Age = 50;
            //_gamePirate.Gender = Character.GenderType.MALE;
            //_gamePirate.Personality = true;
            //_gamePirate.Name = "Bill";

            // to be edited
            _gamePirate.ShipOwner = true;
            _gamePirate.Coin      = 0;
            _gamePirate.Weapon    = Player.WeaponType.FISTS;
            _gamePirate.Ship      = Ship.ShipType.BritishManOWar;

            //
            // default player stats
            //
            _gamePirate.ExperiencePoints = 0;
            _gamePirate.Health           = 100;
            _gamePirate.Lives            = 3;

            // default player inventroy
            _gamePirate.Inventory.Add(_gameUniverse.GetObjectById(24));

            //
            // echo the pirates's info
            //
            _gameConsoleView.DisplayGamePlayScreen("Quest Setup - Complete", Text.InitializeMissionEchoPirateInfo(_gamePirate), ActionMenu.MissionIntro, "");
            _gameConsoleView.DisplayColoredText("", PlayerAction.None, _currentLocation);
            _gameConsoleView.GetContinueKey();
        }
Beispiel #2
0
        /// <summary>
        /// initialize the player info
        /// </summary>
        private void InitializeMission()
        {
            // Player pirate = _gameConsoleView.GetInitialPirateInfo();

            ////player information
            //_gamePirate.Age = pirate.Age;
            //_gamePirate.Gender = pirate.Gender;
            //_gamePirate.Personality = pirate.Personality;
            //_gamePirate.Name = _gameConsoleView.GetPirateName(pirate, PlayerAction.None, _currentLocation);
            _gamePirate.IslandLocationId = 1;

            //player information
            _gamePirate.Age         = 50;
            _gamePirate.Gender      = Character.GenderType.MALE;
            _gamePirate.Personality = true;
            _gamePirate.Name        = "Bill";



            _gamePirate.TreasureInventory.Add((Treasure)_gameUniverse.GameObjects[3]);

            //
            // default player stats
            //
            _gamePirate.ExperiencePoints = 0;
            _gamePirate.Health           = 100;
            _gamePirate.Lives            = 3;

            // default player inventroy
            _gamePirate.Inventory.Add(_gameUniverse.GetObjectById(35));

            //
            // echo the pirates's info
            //
            _gameConsoleView.DisplayGamePlayScreen("Quest Setup - Complete", Text.InitializeMissionEchoPrisonerInfo(_gamePirate), ActionMenu.MissionIntro, "");
            _gameConsoleView.DisplayColoredText("", PlayerAction.None, _currentLocation);
            _gameConsoleView.GetContinueKey();
        }