public void RequestGatherer(WarehouseRequester requester, List<Ingredient> requestedItems)
 {
     //instantiate a resourceGatherer to go to building and get resources
     ResourcePather rp = Instantiate(resourceGatherer, RequestPort().transform.position, Quaternion.identity).GetComponent<ResourcePather>();
     rp.SetRequester(requester);
     rp.SetWarehouse(this);
 }
Beispiel #2
0
 public void SetRequester(WarehouseRequester requester)
 {
     this.warehouseRequester = requester;
 }