![]() |
Raymond Maarloeve
|
Interface for a decision-making system for NPCs. More...
Public Member Functions | |
void | Setup (NPC npc) |
Sets up the decision-making system with the provided NPC. | |
IDecision | Decide () |
Decides the NPC's next action. | |
void | CalculateRelevance (string newMemory, Action< int > relevanceFunc) |
Requests a calculation of relevance from the LLM server based on the current environment and NPC state. | |
Interface for a decision-making system for NPCs.
void IDecisionSystem.CalculateRelevance | ( | string | newMemory, |
Action< int > | relevanceFunc | ||
) |
Requests a calculation of relevance from the LLM server based on the current environment and NPC state.
newMemory | New obtained memory to process |
relevanceFunc | Delegate which will be called when the value is calculated. |
Implemented in LlmDecisionMaker, and NullDecisionSystem.
IDecision IDecisionSystem.Decide | ( | ) |
Decides the NPC's next action.
Implemented in LlmDecisionMaker, and NullDecisionSystem.
void IDecisionSystem.Setup | ( | NPC | npc | ) |
Sets up the decision-making system with the provided NPC.
npc | The NPC that will use this decision-making system. |
Implemented in LlmDecisionMaker, and NullDecisionSystem.