setupMovementByJoystick method
void
setupMovementByJoystick({
- MovementByJoystickType moveType = MovementByJoystickType.direction,
- bool intensityEnabled = false,
- bool diagonalEnabled = true,
- bool enabled = true,
Implementation
void setupMovementByJoystick({
MovementByJoystickType moveType = MovementByJoystickType.direction,
bool intensityEnabled = false,
bool diagonalEnabled = true,
bool enabled = true,
}) {
_settings = MovementByJoystickProps(
moveType: moveType,
intensityEnabled: intensityEnabled,
diagonalEnabled: diagonalEnabled,
enabled: enabled,
);
}