AnimationManager#validateFrames()

validateFrames(frames, useNumericIndex) → {boolean}

Check whether the frames in the given array are valid and exist.

Parameters
Name Type Argument Default Description
frames Array

An array of frames to be validated.

useNumericIndex boolean <optional>
true

Validate the frames based on their numeric index (true) or string index (false)

Returns
boolean -

True if all given Frames are valid, otherwise false.

Source code: animation/AnimationManager.js (Line 219)
doc_phaser
2017-02-14 10:36:07
Comments
Leave a Comment

Please login to continue.