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

Inherits U4DEngine::U4DInputElement.

Public Member Functions

 U4DPadButton (INPUTELEMENTTYPE uInputElementType, U4DControllerInterface *uControllerInterface)
 
void update (double dt)
 
void action ()
 
void changeState (INPUTELEMENTACTION &uInputAction, U4DVector2n &uPosition)
 
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