Esempio n. 1
0
 public CityServices(CharacterSuperModel characterSuperModel, ExploringServices exploringServices)
 {
     _characterSuperModel = characterSuperModel;
     _exploringServices   = exploringServices;
     _inventoryServices   = new InventoryServices(_characterSuperModel);
     _shopEquipmentList   = _inventoryServices.GetEquipment();
     _combatService       = new CombatService(_characterSuperModel);
 }
Esempio n. 2
0
        private void Play(CharacterSuperModel character)
        {
            characterSuperModel = character;
            var counter = 0;

            if (character.CurrentLocation == "city")
            {
                counter = 1;
            }
            var keepPlaying = true;

            exploringServices = new ExploringServices(rand, characterSuperModel);
            while (keepPlaying)
            {
                keepPlaying = SetLocation(counter);
                counter    += 3;
            }
        }
Esempio n. 3
0
 public VillageServices(CharacterSuperModel characterSuperModel, ExploringServices exploringServices)
 {
     _characterSuperModel = characterSuperModel;
     _exploringServices   = exploringServices;
     _inventoryServices   = new InventoryServices(_characterSuperModel);
 }
Esempio n. 4
0
 public void Run()
 {
     saveServices.LoadSettings();
     exploringServices = new ExploringServices(rand);
     RunMenu();
 }