sgTouches Namespace Reference
Detailed Description
Touch namespace. Receives and handles touches.
Function Documentation
Add touch. Adds a new touch to the touch array.
- Parameters:
-
| pos | the position of the new touch |
void sgTouches::removeTouch |
( |
int |
num |
) |
|
Remove touch. Removes a touch from the touch array.
- Parameters:
-
| num | the position of the touch within the touch array to remove |
Update touch. Updates a touch in the touch array.
- Parameters:
-
| num | the position of the touch within the touch array to update |
| pos | the touches new position |
| prepos | the touches previous position |
Variable Documentation
Touch array. Array storing all current touches.