Пример #1
0
        public void AddEffect(IGOAPState state)
        {
            UpdateAgent(state.GetAgent());

            Console.WriteLine("[AddEffect] \"{0}\"", state.GetName());
            mEffects.Add(state);
        }
Пример #2
0
        public void AddPrerequisite(IGOAPState state)
        {
            UpdateAgent(state.GetAgent());

            Console.WriteLine("[AddPrerequisite] \"{0}\"", state.GetName());
            mPrerequisites.Add(state);
        }