LockCameraToActorStrategy
Implements
Index
Constructors
constructor
Parameters
target: Actor
Returns LockCameraToActorStrategy
Properties
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)
camera: Camera
The current camera implementation in excalibur running the game
engine: Engine<any>
The current engine running the game
elapsedMs: number
The elapsed time in milliseconds since the last frame
Returns Vector
Lock a camera to the exact x/y position of an actor.