updateSound(key) Updates the sound object in the cache. Parameters
getText(key) → {object} Gets a Text object from the cache. The object is looked-up based
destroy() Clears the cache. Removes every local cache object reference.If an object in the cache has a destroy method
checkTilemapKey(key) → {boolean} Checks if the given key exists in the Tilemap Cache.
removeJSON(key) Removes a json object from the cache. Note that this only removes it from the Phaser.Cache. If you still have
getBinary(key) → {object} Gets a binary object from the cache. The object is looked-up based
getFrameCount(key, cache) → {number} Get the total number of frames
getPhysicsData(key, object, fixtureKey) → {object} Gets a Physics
[static] CANVAS : number Source code:
getShader(key) → {string} Gets a fragment shader object from the cache. The object is looked-up
Page 2 of 11