innerCurrentDirectional property

JoystickMoveDirectional? get innerCurrentDirectional

get currentDirectional from JoystickListener

Implementation

JoystickMoveDirectional? get innerCurrentDirectional {
  if (this is JoystickListener) {
    return (this as JoystickListener).currentDirectional;
  } else {
    print(
        '(MovementByJoystick) ERROR: $this need use JoystickListener mixin');
    return null;
  }
}