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