public PatrolGoal(GoapAgent agent) : base(agent) { GoalName = "PatrolGoal"; RequiredWorldState.Add(new GoapState("At Patrol Node", true)); //RequiredWorldState.Add(new GoapState("Has Patrol Node", true)); }
public CombatGoal(GoapAgent agent) : base(agent) { GoalName = "Combat Goal"; RequiredWorldState.Add(new GoapState("Player Detected", true)); RequiredWorldState.Add(new GoapState("Shoot At Player", true)); myAI = agent.GetComponent <GoapAI>(); }
public CoverGoal(GoapAgent agent) : base(agent) { GoalName = "Cover Goal"; RequiredWorldState.Add(new GoapState("In Cover", true)); MyHealth = agent.GetComponent <Health>(); }