public Extract(GameObject agent, GameObject resource) : base(agent, TaskType.Extract) { timeFromLastExtraction = 0.0f; stats = agent.GetComponent <Stats>(); yielder = resource.GetComponent <ResourceYielder>(); load = agent.GetComponent <BeeLoad>(); }
public Harvest(GameObject agent, GameObject resource) : base(agent, TaskType.Harvest) { this.resource = resource; load = agent.GetComponent <BeeLoad>(); }
public Deposit(GameObject agent, GameObject targetBeehive) : base(agent, TaskType.Deposit) { targetHive = targetBeehive.GetComponent <HiveWarehouse>(); load = agent.GetComponent <BeeLoad>(); }