Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CameraStrategy<T>

Interface that describes a custom camera strategy for tracking targets

Type parameters

  • T

Hierarchy

  • CameraStrategy

Implemented by

Index

Properties

Properties

action

action: function

Camera strategies perform an action to calculate a new focus returned out of the strategy

param

The target object to apply this camera strategy (if any)

param

The current camera implementation in excalibur running the game

param

The current engine running the game

param

The elapsed time in milliseconds since the last frame

Type declaration

target

target: T

Target of the camera strategy that will be passed to the action