csharp
public readonly record struct GoapGoalSomething an agent wants to be true.
Fields and properties (3)
public Symbol NameWhat it is called.
public GoapCondition[] ConditionsWhat has to hold for it to be met.
public int PriorityWhich goal wins when more than one is unmet. Higher first.
Methods (2)
public GoapGoal(Symbol Name, GoapCondition[] Conditions, int Priority = 0)Something an agent wants to be true.
public bool Met(ReadOnlySpan<int> state)Whether the world already satisfies it.
Used by (14)
- VillageAiVillage
- GoapBudgetTestsVixen.Ai.Tests
- GoapCostTestsVixen.Ai.Tests
- GoapDomainVixen.Ai
- GoapDomainContentCompilerVixen.Ai
- GoapDomainTestsVixen.Ai.Tests
- GoapPearTestsVixen.Ai.Tests
- GoapPlannerVixen.Ai
- GoapSnapshotVixen.Ai
- GoapThroughputTestsVixen.Ai.Tests
- VillageVixen.Ai.Nodes.Tests
- GoapDomainImporterVixen.Editor.Assets
- GoapGraphProjectionVixen.Editor.Ai
- LiveAgentVixen.Editor.AssetEditors.Tests