public void Init(BuildingInstaller.BuildingSet buildingSet, BuildingCategoryPanel.Factory factory) { _categories = buildingSet.CategoryNames; _factory = factory; UpdateState(); SelectEmptyCategory(); }
public BuildingManager(BuildingInstaller.BuildingSet buildingSet, StateManager stateManager) { _buildingSet = buildingSet; _stateManager = stateManager; }
public void Init(BuildingInstaller.BuildingSet buildingSet, BuildingPanel.Factory panelFactory, BuildingManager manager) { _buildingSet = buildingSet; _panelFactory = panelFactory; _manager = manager; }