onJoystickChangeDirectional method
Implementation
@override
void onJoystickChangeDirectional(JoystickDirectionalEvent event) {
if (_settings.intensityEnabled) {
_intensity = event.intensity;
} else {
_intensity = 1;
}
_joystickAngle = event.radAngle;
_newDirectional = _getDirectional(event.directional);
super.onJoystickChangeDirectional(event);
}