Private _camera_Private _followingPrivate _shake_Private _targetPrivate _unfollow_Private dataPrivate gameStatic Private Readonly CAMERA_Static Private Readonly SHAKE_Whether the camera is shaking or not.
Whether the camera is following a target or not.
The target that the camera is following.
Enable camera following for a given target.
Optional target: InteractableObjects | ControllableCharthe target for the camera to follow.
Optional duration: numberthe duration that the camera will to take to reach target position in ms.
returns a promise to the transition end.
Makes the camera static, to follow nothing.
Returns the target that was being followed.
A helper class to manage Phaser.Camera with some utils.