addJoystickObserver abstract method

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

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

Implementation

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