Class: SystemAnimationFrameEffect

SystemAnimationFrameEffect

An animation frame effect

new SystemAnimationFrameEffect (json)

Name Type Description
json Object optional Json object describing the animation frame effect
Properties:
Name Type Description
isSE boolean Indicate if the effect is a sound effect
se SystemPlaySong The sound effect to play
condition AnimationEffectConditionKind The animation effect condition

Methods

read (json)

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

playSE (condition)

Play the sound effect according to a condition
Name Type Description
condition AnimationEffectConditionKind The animation effect condition kind