Esempio n. 1
0
 public bool IsResolved(AICharacter character)
 {
     return(requirement != null && requirement.IsFullfilled(character));
 }
Esempio n. 2
0
 public float CalculateCost(AICharacter character)
 {
     return(task.CalculateCost(character) + goal.Cost);
 }
Esempio n. 3
0
 public DecisionManager(AICharacter character)
 {
     this.character   = character;
     this.taskManager = new TaskManager();
     resolutions      = new List <Resolution> ();
 }