public AwareEntity(Vector2 pos, EntityManager em) : base(pos, em) { Hunger = 3f; Fatique = 3f; SB = new IdleBehaviour(this); CompositeGoal = new MakeDecisionGoal(this); }
public IdleBehaviourComponent(AgentManager agent, MovementBehaviour behaviour) { this.agent = agent; this.behaviour = behaviour as IdleBehaviour; }
public MovementBehaviourComponent(int sightRange, IdleBehaviour idle, SeenPlayerBehaviour seen) { this.SightRange = sightRange; this.IdleBehaviour = idle; this.SeenPlayerBehaviour = seen; }