LockCameraToActorAxisStrategy
Implements
Index
Constructors
constructor
Parameters
Returns LockCameraToActorAxisStrategy
Properties
publicaxis
publictarget
Target of the camera strategy that will be passed to the action
Methods
publicaction
Camera strategies perform an action to calculate a new focus returned out of the strategy
Parameters
target: Actor
The target object to apply this camera strategy (if any)
cam: Camera
The current camera implementation in excalibur running the game
_eng: Engine<any>
The current engine running the game
elapsed: number
The elapsed time in milliseconds since the last frame
Returns Vector
Lock a camera to a specific axis around an actor.