Exemple #1
0
 public CityServices(CharacterSuperModel characterSuperModel, ExploringServices exploringServices)
 {
     _characterSuperModel = characterSuperModel;
     _exploringServices   = exploringServices;
     _inventoryServices   = new InventoryServices(_characterSuperModel);
     _shopEquipmentList   = _inventoryServices.GetEquipment();
     _combatService       = new CombatService(_characterSuperModel);
 }
Exemple #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;
            }
        }
 public VillageServices(CharacterSuperModel characterSuperModel, ExploringServices exploringServices)
 {
     _characterSuperModel = characterSuperModel;
     _exploringServices   = exploringServices;
     _inventoryServices   = new InventoryServices(_characterSuperModel);
 }
Exemple #4
0
 public void Run()
 {
     saveServices.LoadSettings();
     exploringServices = new ExploringServices(rand);
     RunMenu();
 }