Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Config

Index

Properties

Optional delay

delay?: number
memberof

Duck.Types.Animation.Config

description

The amount of milliseconds that is waited for before playing the animation, optional -> defaults: 0

since

2.0.0

frameRate

frameRate: number
memberof

Duck.Types.Animation.Config

description

The frame rate of the animation

since

2.0.0

frames

frames: FrameBase[]
memberof

Duck.Types.Animation.Config

description

Frames of the Animation, objects that are later converted to AnimationFrame

since

2.0.0

key

key: string
memberof

Duck.Types.Animation.Config

description

Key / Name of Animation

since

2.0.0

Optional repeat

repeat?: number
memberof

Duck.Types.Animation.Config

description

Determines the amount of times the Animation loops, optional -> defaults: 1

since

2.0.0

Optional useDelta

useDelta?: boolean
memberof

Duck.Types.Animation.Config

description

Determines if the Animation timers count by the Game.deltaTime, set to true if used in the Scene.update method, and false otherwise, optional -> defaults: false

since

2.0.0

Optional yoyo

yoyo?: boolean
memberof

Duck.Types.Animation.Config

description

Determines if the animation plays in the opposite direction of its current direction and switches on end, like a yoyo optional -> defaults: false

since

2.0.0

Generated using TypeDoc