public void AddEffect(IGOAPState state) { UpdateAgent(state.GetAgent()); Console.WriteLine("[AddEffect] \"{0}\"", state.GetName()); mEffects.Add(state); }
public void AddPrerequisite(IGOAPState state) { UpdateAgent(state.GetAgent()); Console.WriteLine("[AddPrerequisite] \"{0}\"", state.GetName()); mPrerequisites.Add(state); }