Behavior ability pair

From AI Product Manuals
Revision as of 02:46, 9 October 2021 by Davemark (talk | contribs) (Initial Entries)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
This page is part of the IAUS Manual.BrainBehaviorBehavior TypeDecisionAI Entity

Concept

A Behavior Ability Pair (BAP) is an object representing the combination of a behavior and an associated ability.

Implementation

Code

Because it is merely a combination of a behavior and an associated ability, those are the only member objects in the class. There is an ability type and a pointer to the static behavior object. The rest of the information is held in the linked behavior object. In fact, all of the accessors from the BAP simply route through to the associated behavior as syntactic sugar. In most cases, it is treated the same way as a regular behavior.

Data


Website, Manuals wiki, and Product Code ©2021, Intrinsic Algorithm LLC