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