CameraStrategy <T>
Implemented by
Index
Properties
action
Camera strategies perform an action to calculate a new focus returned out of the strategy
Type declaration
Camera strategies perform an action to calculate a new focus returned out of the strategy
Parameters
target: T
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
delta: number
The elapsed time in milliseconds since the last frame
Returns Vector
target
Target of the camera strategy that will be passed to the action
Interface that describes a custom camera strategy for tracking targets