Vixen
c7401864
csharp
public sealed class BehaviorTreeLibrary

Trees by name, so that a key can name one.

Read the guide page for this →

Remarks

Deliberately small: a dictionary and a list. What a game actually loads trees through is P2's asset pipeline; this is what a dynamic subtree, a spawner and a test resolve a name against in the meantime, and what the pipeline will fill.

Fields and properties (2)

  • public int Count

    How many trees it holds.

  • public BehaviorTreeTemplate this[int index]

    The tree at an index, which is what an AiAgent names.

Methods (3)

Used by (13)

  • AiSnapshotTestsVixen.Ai.Tests
  • AiSystemVixen.Ai
  • AiSystemTreeTestsVixen.Ai.Tests
  • BehaviorTreeDeterminismTestsVixen.Ai.Tests
  • BehaviorTreeResolverVixen.Ai
  • BehaviorTreeTaskTestsVixen.Ai.Tests
  • FleetVixen.Ai.Tests
  • PatrolChaseGiveUpTestsVixen.Ai.Nodes.Tests
  • PerceptionNodeTestsVixen.Ai.Perception.Tests
  • RunSubtreeDynamicTaskVixen.Ai
  • VillageVixen.Ai.Nodes.Tests
  • AgentFixtureVixen.Editor.AssetEditors.Tests
  • LiveAgentVixen.Editor.AssetEditors.Tests