Raymond Maarloeve
Loading...
Searching...
No Matches
NullDecisionSystem Class Reference

Stub IDecisionSystem implementation for debugging purposes. More...

Public Member Functions

void Setup (NPC npc)
 Sets up the decision-making system with the provided NPC.
 
IDecision Decide ()
 Returns an IdleDecision with idle time of 99999 seconds.
 
void CalculateRelevance (string newMemory, Action< int > relevanceFunc)
 Stub function calling relevanceFunc delegate with relevance value of 0.
 
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.
 

Detailed Description

Stub IDecisionSystem implementation for debugging purposes.

Member Function Documentation

◆ CalculateRelevance()

void NullDecisionSystem.CalculateRelevance ( string  newMemory,
Action< int >  relevanceFunc 
)

Stub function calling relevanceFunc delegate with relevance value of 0.

Parameters
newMemoryNot used
relevanceFuncDelegate which will be called.

Implements IDecisionSystem.

◆ Decide()

IDecision NullDecisionSystem.Decide ( )

Returns an IdleDecision with idle time of 99999 seconds.

Returns
IdleDecision

Implements IDecisionSystem.

◆ Setup()

void NullDecisionSystem.Setup ( NPC  npc)

Sets up the decision-making system with the provided NPC.

Parameters
npcThe NPC that will use this decision-making system.

Implements IDecisionSystem.


The documentation for this class was generated from the following file: