Whether the camera is shaking or not.
Whether the camera is following a target or not.
The target that the camera is following.
Disables camera shake.
Enables camera shake.
will unfollow the hero while shaking the camera.
Enable camera following for a given target.
the target for the camera to follow.
the duration that the camera will to take to reach target position in ms.
returns a promise to the transition end.
Resets camera lerp to engine defaults.
Makes the camera static, to follow nothing.
Returns the target that was being followed.
The camera update function.
Generated using TypeDoc
A helper class to manage Phaser.Camera with some utils.