Class: SystemAnimationFrame

SystemAnimationFrame

An animation frame

new SystemAnimationFrame (json)

Name Type Description
json Object optional Json object describing the animation frame
Properties:
Name Type Description
elements Array.<SystemAnimationFrameElement> The frame elements by index
effects SystemAnimationFrameEffect The frame effects by index

Members

draw

Draw the animation frame

Methods

read (json)

Read the JSON associated to the animation frame
Name Type Description
json Object Json object describing the animation frame

playSounds (condition)

Play the sounds according to condition
Name Type Description
condition AnimationEffectConditionKind The condition