public void SetData(MapPointController point) { moveCamp = true; TravelType = ForceTravel.TravelType.Camp; idPoint = point.MapPoint.idPoint; concreteField = point; gameObject.SetActive(true); }
public void SetData(MapPointController point, ForceTravel.TravelType type) { moveCamp = false; TravelType = type; idPoint = point.MapPoint.idPoint; concreteField = point; gameObject.SetActive(true); }
public void SetLocate(ForceTravel.TravelType locate, int id) { locateType = locate; switch (locate) { case ForceTravel.TravelType.Camp: idCamp = id; break; case ForceTravel.TravelType.Village: idVillage = id; break; } }
string ReturnName(int id, ForceTravel.TravelType type) { switch (type) { case ForceTravel.TravelType.Camp: return("Obóz"); case ForceTravel.TravelType.Village: return("" + StaticValues.Cities[((VillageMapPointController)StaticValues.points[id]).id].Name); case ForceTravel.TravelType.Go_Mission: case ForceTravel.TravelType.Back_Mission: return("Misja"); } return(""); }
public Group(int _id) { type = ForceTravel.TravelType.Village; id = _id; }
public Group() { type = ForceTravel.TravelType.Camp; id = StaticValues.currentLocate.GetIDCamp(); }
public void SetLocate(ForceTravel.TravelType locate) { locateType = locate; }