Beispiel #1
0
 public override void Evaluate(ref DTState currentState)
 {
     if (action())
     {
         Right.Evaluate(ref currentState);
     }
     else
     {
         Left.Evaluate(ref currentState);
     }
 }
Beispiel #2
0
 public override void Evaluate(ref DTState currentState)
 {
     currentState = agentState;
 }
Beispiel #3
0
 internal DTLeaf(DTState agentState)
 {
     this.agentState = agentState;
 }
Beispiel #4
0
 public abstract void Evaluate(ref DTState currentState);