Esempio n. 1
0
 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;
     }
 }
Esempio n. 2
0
            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));
			}