Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IAnimationData

Hierarchy

  • IAnimationData

Index

Properties

activeFrame

activeFrame: number

The index of the currently active frame.

elapsedTime

elapsedTime: number

The elapsed time of this animation. We store these separately per animation so they can be offset from eachother if so desired.

frames

An array of frame data for the animation.

index

index: number

The index into our data array of the tile to animate.

maxTime

maxTime: number

The maximum amount of time this animation lasts. Sum of all frame durations.

Generated using TypeDoc