#include <inputentity.h>
Inheritance diagram for InputEntity:


Derived classes must implement the Input process method to handle the events received.
Public Member Functions | |
| InputEntity (InputGroup *pkGroup) | |
| virtual | ~InputEntity () |
| void | AttachToGroup (InputGroup *pkGroup) |
| virtual void | Input (const InputEvent *pkEvent)=0 |
| bool | IsActive () const |
| virtual void | Activate () |
| virtual void | Deactivate () |
| bool | Toggle () |
Protected Attributes | |
| InputGroup * | m_pkGroup |
| bool | m_bActive |
|
|
Attach to group
|
|
|
Detach from group |
|
|
Attach to an input group (will detach from any current group)
|
|
|
Process input
Implemented in Console. |
|
|
Query state of object
|
|
|
Activate object |
|
|
Deactivate object |
|
|
Toggle active state. This method does not need to be overloaded, it is only a wrapper to Activate and Deactivate
|
|
|
Input group we belong to |
|
|
Active flag |
1.3.5