Cache#updateFrameData()

updateFrameData(key, frameData, cache)

Replaces a set of frameData with a new Phaser.FrameData object.

Parameters
Name Type Argument Default Description
key string

The unique key by which you will reference this object.

frameData number

The new FrameData.

cache integer <optional>
Phaser.Cache.IMAGE

The cache to search. One of the Cache consts such as Phaser.Cache.IMAGE or Phaser.Cache.SOUND.

Source code: loader/Cache.js (Line 1517)
doc_phaser
2017-02-14 10:40:35
Comments
Leave a Comment

Please login to continue.