Game Development Reference
In-Depth Information
Creating soldier knowledge sources
So far, our soldier's two main knowledge calculations are within enemy selection and flee
position selection. With a proper KnowledgeSource instance implementation, we can
refactor our original evaluator's internals to a standalone function that returns a result and
confidence value in the format expected by our KnowledgeSource instance implement-
ation.
Search WWH ::




Custom Search