PGE Engine
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Public Member Functions | Protected Attributes | List of all members
ControllableObject Class Reference

Provides controller input interface for a physical objects (for example, playable characters) More...

#include <controllable_object.h>

Inheritance diagram for ControllableObject:
LVL_Player Binding_Level_ClassWrapper_LVL_Player

Public Member Functions

 ControllableObject ()
 Constructor.
 
void applyControls (controller_keys sentkeys)
 Input slot which accepts control key states map from a controller. More...
 
void resetControls ()
 Sets all key states into "unpressed" state.
 

Protected Attributes

controller_keys keys
 Recently accepted control key states.
 

Detailed Description

Provides controller input interface for a physical objects (for example, playable characters)

Member Function Documentation

void ControllableObject::applyControls ( controller_keys  sentkeys)

Input slot which accepts control key states map from a controller.

Parameters
Controlkey states map structure

The documentation for this class was generated from the following files: