ContextInfo

From AI Product Manuals
Revision as of 01:03, 29 September 2021 by Davemark (talk | contribs) (Initial Entries)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

ContextInfo is a class containing much of the information needed to score and execute decisions. It includes a reference the Brain to which it belongs, the desired Behavior to be executed, a pointer to the AIEntity that is the owner of the behavior, a pointer to the AIEntity of the Target (if there is one), a LocationProxy describing a targeted location (if there is one), and a reference to the end time of the last usage of this particular Context.