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

Inherits U4DEngine::U4DInputElement.

Public Member Functions

 U4DTouches (INPUTELEMENTTYPE uInputElementType, U4DControllerInterface *uControllerInterface)
 Touch constructor.
 
 ~U4DTouches ()
 Touch destructor.
 
void setDataPosition (U4DVector2n uDataPosition)
 
U4DVector2n getDataPosition ()
 
void update (double dt)
 
void changeState (INPUTELEMENTACTION &uInputAction, U4DVector2n &uPosition)
 
void action ()
 
bool getIsMoving ()
 
bool getIsPressed ()
 
bool getIsReleased ()
 
- Public Member Functions inherited from U4DEngine::U4DInputElement
 U4DInputElement (INPUTELEMENTTYPE uInputElementType, U4DControllerInterface *uControllerInterface)
 
INPUTELEMENTTYPE getInputElementType ()
 
void setControllerInterface (U4DControllerInterface *uControllerInterface)
 

Additional Inherited Members

- Public Attributes inherited from U4DEngine::U4DInputElement
U4DControllerInterfacecontrollerInterface
 
- Protected Attributes inherited from U4DEngine::U4DInputElement
INPUTELEMENTTYPE inputElementType