Skip to main content

Class: TAnimatedSpriteSystem

Defined in: components/animated-sprite-component.ts:34

Extends​

Constructors​

Constructor​

new TAnimatedSpriteSystem(world): TAnimatedSpriteSystem

Defined in: components/animated-sprite-component.ts:40

Parameters​

world​

TWorld

Returns​

TAnimatedSpriteSystem

Overrides​

TSystem.constructor

Properties​

priority​

readonly priority: number = TSystemPriority.Update

Defined in: components/animated-sprite-component.ts:36

Overrides​

TSystem.priority


systemName​

readonly static systemName: string = 'TAnimatedSpriteSystem'

Defined in: components/animated-sprite-component.ts:35

The name of the system. This is used for debugging and segment timing. Override this static property in subclasses to provide a meaningful name that won't be minified.

Overrides​

TSystem.systemName

Accessors​

name​

Get Signature​

get name(): string

Defined in: core/system.ts:24

The name of the system. This is used for debugging and segment timing. Returns the static systemName property to avoid minification issues.

Returns​

string

Inherited from​

TSystem.name

Methods​

update()​

update(engine, world, delta): Promise<void>

Defined in: components/animated-sprite-component.ts:50

Parameters​

engine​

TEngine

world​

TWorld

delta​

number

Returns​

Promise<void>

Overrides​

TSystem.update