Vixen
c7401864
csharp
public readonly record struct GoapGoal

Something an agent wants to be true.

Read the guide page for this →

Fields and properties (3)

  • public Symbol Name

    What it is called.

  • public GoapCondition[] Conditions

    What has to hold for it to be met.

  • public int Priority

    Which 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 (13)

  • 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