void UpdateAgent() { //if (BlackBoard.DontUpdate==false) // return; BlackBoard.Update(); GOAPManager.UpdateCurrentGoal(); GOAPManager.ManageGoals(); }
void UpdateAgent() { // if (BlackBoard.DontUpdate == true) // return; // //update blackboard BlackBoard.Update(); GoapManager.UpdateCurrentGoal(); GoapManager.ManageGoals(); }
void UpdateAgent() { if (BlackBoard.DontUpdate == true) { return; } //update blackboard BlackBoard.Update(); GoapManager.UpdateCurrentGoal(); GoapManager.ManageGoals(); Memory.Update(); }
void UpdateAgent() { if (BlackBoard.DontUpdate == true) { return; } //update blackboard BlackBoard.Update(); m_GoalManager.UpdateCurrentGoal(); //Manage the list of goals we have m_GoalManager.ManageGoals(); //Update the working memory.Cleans up facts marked for deletion Memory.Update(); }