Controller

From Tripwire Interactive Wiki
Revision as of 13:20, 25 September 2012 by Benjamin (talk | contribs) (Created page with "{{CodeTree| Object >> Actor}} A ''controller'' handles a pawn. It can be considered the ''mind'' of the character, while the pawn can be considered the ''body''. ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Object >> Actor >> Controller


A controller handles a pawn. It can be considered the mind of the character, while the pawn can be considered the body. It receives input and dispatches actions for the pawn to perform. It provides the fundamentals such as notifications, functions to control the pawn, and variables to control certain aspects of the character. Much functionality is implemented in further-derived classes, such as KFHumanPawn and KFMonster, and classes in-between.

External links