API Docs for:
Show:

Component_AnimationHandler Class

Module: ui

An animation-handler component allows a UI game object to execute a flow of animations. For more information about UI animations, see help-file.

Methods

clear

(
  • descriptor
)
protected

Clears/Resets the specified animation if necessary.

Parameters:

  • descriptor Object
    • The animation descriptor

processAnimations

(
  • descriptor
)
protected

Processes the animation flow.

Parameters:

  • descriptor Object
    • The animation-descriptor containing the animation-flow.

processTargets

(
  • animation
  • targets
)
protected

Processes the animation targets and starts the animation on each target object if possible.

Parameters:

  • animation Object
    • The animation to start.
  • targets gs.Object_Base
    • An array of target objects.

setup

()

Initializes the animation-handler.

update

()

Updates the animation-handler.

updateAnimations

()

Updates the animations.

Properties

initialized

Boolean protected

pointer

Number protected

waitCounter

Number protected