Untold Engine  Beta v0.0.16
docs
U4DEngine::U4DMacArrowKey Class Reference

Inherits U4DEngine::U4DInputElement.

Public Member Functions

 U4DMacArrowKey (INPUTELEMENTTYPE uInputElementType, U4DControllerInterface *uControllerInterface)
 
void update (double dt)
 
void action ()
 
void changeState (INPUTELEMENTACTION &uInputAction, U4DVector2n &uPosition)
 
void setDataPosition (U4DVector2n uData)
 
U4DVector2n getDataPosition ()
 
void setDataMagnitude (float uValue)
 
float getDataMagnitude ()
 
bool getIsActive ()
 
bool getDirectionReversal ()
 
- Public Member Functions inherited from U4DEngine::U4DInputElement
 U4DInputElement (INPUTELEMENTTYPE uInputElementType, U4DControllerInterface *uControllerInterface)
 
INPUTELEMENTTYPE getInputElementType ()
 
void setControllerInterface (U4DControllerInterface *uControllerInterface)
 

Public Attributes

U4DVector2n dataPosition
 
U4DVector2n padAxis
 
float dataMagnitude
 
bool isActive
 
bool directionReversal
 
- Public Attributes inherited from U4DEngine::U4DInputElement
U4DControllerInterfacecontrollerInterface
 

Additional Inherited Members

- Protected Attributes inherited from U4DEngine::U4DInputElement
INPUTELEMENTTYPE inputElementType