Пример #1
0
 public void Add(Goal goal)
 {
     goal.Agent = Agent;
     goal.ParentGoal = this;
     goal.Initialize();
     SubGoals.Add(goal);
 }
Пример #2
0
 public void Remove(Goal goal)
 {
     goal.ParentGoal = null;
     goal.Terminate();
     SubGoals.Remove(goal);
 }
Пример #3
0
Файл: Goal.cs Проект: rc183/igf
 public void Remove(Goal goal)
 {
     goal.ParentGoal = null;
     goal.Terminate();
     SubGoals.Remove(goal);
 }