FrameData#addFrame()

addFrame(frame) → {Phaser.Frame}

Adds a new Frame to this FrameData collection. Typically called by the Animation.Parser and not directly.

Parameters
Name Type Description
frame Phaser.Frame

The frame to add to this FrameData set.

Returns

The frame that was just added.

Source code: animation/FrameData.js (Line 31)
doc_phaser
2017-02-14 10:48:01
Comments
Leave a Comment

Please login to continue.