Exemplo n.º 1
0
 /**
  *  Look for building components as children of the city gameobject and add them to buildingList
  *
  */
 public void Setup(AreaBuildingFactory _areaBuildingFactory)
 {
     // Setup personList
     PersonList.Setup();
     BuildingList.Setup(this);
     areaBuildingFactory = _areaBuildingFactory;
 }
 public void UpdateOn(AreaBuildingFactory areaBuilding)
 {
     areaBuild3D.Setup(areaBuilding, this);
     base.UpdateOn();
     selectGridCell.UpdateOn();
 }
 public void Setup(AreaBuildingFactory areaBuildingFactory, PlaceAreaBuilding placeAreaBuilding)
 {
     area_building_factory = areaBuildingFactory;
     place_area_building   = placeAreaBuilding;
 }
 public void UpdateOn(AreaBuildingFactory areaBuilding)
 {
     areaBuild3D.Setup (areaBuilding, this);
     base.UpdateOn ();
     selectGridCell.UpdateOn ();
 }
 public void Setup(AreaBuildingFactory areaBuildingFactory, PlaceAreaBuilding placeAreaBuilding)
 {
     area_building_factory = areaBuildingFactory;
     place_area_building = placeAreaBuilding;
 }
Exemplo n.º 6
0
 /**
  * 	Look for building components as children of the city gameobject and add them to buildingList
  *
  */
 public void Setup(AreaBuildingFactory _areaBuildingFactory)
 {
     // Setup personList
     PersonList.Setup ();
     BuildingList.Setup (this);
     areaBuildingFactory = _areaBuildingFactory;
 }