void Start() { AIarea = GetComponent<AIArea>(); }
public bool DescribesArea(AIArea area) { return(_supportedArea.Equals(area)); //todo; }
public T GetKnowledgeBox <T>(AIArea area) where T : IEnvironmentKnowledgeBox { return(_knowledgeBoxes.Where(c => c is T).Cast <T>().First(c => c.DescribesArea(area))); }
public ForageLocationEnvKnowledgeBox(AIArea supportedArea, List <EdibleBotAspectOC> forageItems) { _supportedArea = supportedArea; _forageItems = forageItems; }