addJoystickObserver abstract method

void addJoystickObserver(
  1. JoystickListener target, {
  2. bool cleanObservers = false,
  3. bool moveCameraToTarget = false,
})

Used to change Joystick listener. And move camera to new target.

Implementation

void addJoystickObserver(
  JoystickListener target, {
  bool cleanObservers = false,
  bool moveCameraToTarget = false,
});