Moai SDK
2.0
|
Function List | |
getVector | |
setCallback | |
|
Returns the joystick vector.
function getVector ( MOAIJoystickSensor self )
MOAIJoystickSensor | self |
|
Sets or clears the callback to be issued when the joystick vector changes.
function setCallback ( MOAIJoystickSensor self [, function callback ] )
MOAIJoystickSensor | self |
function | callback Optional. Default value is nil. |