// Start is called before the first frame update void Start() { blackboard = new EnemyBlackBoard(); blackboard.SetDecisionMaker(this); locomotion = transform.GetComponent <MovementController>(); locomotion.SetDecisionMaker(this); perception = transform.GetComponent <EnemyView>(); StartCoroutine(CastingCoroutine(seconds_between_cast)); }
public SearchWeapon(EnemyBlackBoard _b) : base(_b) { name = "Search Weapon"; }
public SearchCover(EnemyBlackBoard _b) : base(_b) { name = "Search Cover"; }
public Task(EnemyBlackBoard _b) { blackboard_reference = _b; decision_maker_reference = _b.GetDecisionMaker(); }
public TakeWeapon(EnemyBlackBoard _b) : base(_b) { name = "Take Weapon"; }
public Shot(EnemyBlackBoard _b) : base(_b) { name = "Shot"; }