public House(IWood wood, IBuilder builder, ITownHall townHall, IWorkerService workerService, IStoryService storyService) { _wood = wood; _builder = builder; _townHall = townHall; _workerService = workerService; _storyService = storyService; _timer = new Timer(InhabitantsCallback, null, 30_000, 30_000); }
public House(IWood wood, IBuilder builder, ITownHall townHall, IWorkerService workerService, IStoryService storyService, IHyperState hyperState) : base(builder, hyperState) { _wood = wood; _builder = builder; _townHall = townHall; _workerService = workerService; _storyService = storyService; BuildTime = 30_000; HyperState.OnChange += HyperStateOnOnChange; _timer = new Timer(InhabitantsCallback, null, 30_000 / HyperState.DivideBy, 30_000 / HyperState.DivideBy); }
public BuildTownHall(ApplicationState state, IStoryService storyService, ITownHall townHall) : base(state, storyService, townHall) { IsVisible = true; IsClickable = true; Title = "Build Town Hall"; }