Пример #1
0
        public void AddSubGoal(Goal subGoal)
        {
            if (SubGoals.Any())
                SubGoals.Peek().SetStatus(STATUS.Inactive);

            SubGoals.Push(subGoal);

            subGoal.SetPerson(Person);
        }
Пример #2
0
        void Start()
        {
            _goal = new GuestThink();

            _goal.RemoveAllSubGoals();

            _goal.SetPerson(this);
            _goal.Activate();
        }
Пример #3
0
 public virtual bool IsSameGoal(Goal goal)
 {
     return false;
 }