public static Stockpile CreateStockpile(EnvironmentObject environment, IntGrid2Z area) { var stockpile = new Stockpile(environment, area); environment.AddAreaElement(stockpile); return(stockpile); }
public StoreToStockpileJob(IJobObserver parent, Stockpile stockpile, ItemObject item) : base(parent) { this.Item = item; m_stockpile = stockpile; m_state = State.MoveToItem; }
public static void DestructStockpile(Stockpile stockpile) { stockpile.Environment.RemoveAreaElement(stockpile); }
public static Stockpile CreateStockpile(EnvironmentObject environment, IntGrid2Z area) { var stockpile = new Stockpile(environment, area); environment.AddAreaElement(stockpile); return stockpile; }