![]() |
rag
graphic 2d engine
|
Event for handle input from screen. More...
#include <TouchEvent.h>
Public Member Functions | |
TouchEvent (std::string type) | |
virtual std::string | toString () |
string representing the event. | |
![]() | |
Event (std::string type) | |
Creates a new event of the given type. | |
Public Attributes | |
float | localX |
float | localY |
float | stageX |
float | stageY |
float | movementX |
float | movementY |
float | pinch |
char | touchId |
![]() | |
std::string | type |
The type of the event. The string should be unique for this event. | |
bool | captured |
When an event is captured, it won't propagate anymore through the Display List. | |
rag::DisplayObject * | target |
Usually points to the dispatcher object. 'target' can be assigned to anything for custom events. | |
Event for handle input from screen.