public void BuildInfrastructure() { switch (_encampment.EncampmentType) { case EncampmentType.CAMP: case EncampmentType.CAMPMENT: case EncampmentType.ENCAMPMENT: case EncampmentType.VILLAGE: case EncampmentType.FORT: default: Construct(ConstructionManager.GetConstructionData("shed")); break; } }
public void BuildFreshWaterInfrastructure() { switch (_encampment.EncampmentType) { case EncampmentType.CAMP: Construct(ConstructionManager.GetConstructionData("pit")); break; case EncampmentType.CAMPMENT: case EncampmentType.ENCAMPMENT: case EncampmentType.VILLAGE: case EncampmentType.FORT: Construct(ConstructionManager.GetConstructionData("well")); break; } }
private void OnClick(string name) { Foreman.Instance.StartPlacement(ConstructionManager.GetConstructionData(name)); }