| 239 | } |
| 240 | |
| 241 | void BehaviorKnowledge::RemoveGoal(ScriptingTypeHandle type) |
| 242 | { |
| 243 | for (int32 i = 0; i < Goals.Count(); i++) |
| 244 | { |
| 245 | const ScriptingTypeHandle goalType = Scripting::FindScriptingType(Goals[i].Type.GetTypeName()); |
| 246 | if (goalType == type) |
| 247 | { |
| 248 | Goals.RemoveAt(i); |
| 249 | break; |
| 250 | } |
| 251 | } |
| 252 | } |
| 253 | |
| 254 | bool BehaviorKnowledge::CompareValues(float a, float b, BehaviorValueComparison comparison) |
| 255 | { |
nothing calls this directly
no test coverage detected