removeImage(key, destroyBaseTexture) Removes an image from the cache. You can optionally elect
[static] TEXT : number Source code:
removeSound(key) Removes a sound from the cache. If any Phaser.Sound objects use the audio file in the cache that
getXML(key) → {object} Gets an XML object from the cache. The object is looked-up based on
addSound(key, url, data, webAudio, audioTag) Adds a Sound file into the Cache. The file must have already been loaded, typically via
checkURL(url) → {boolean} Checks if the given URL has been loaded into the Cache.This method
[static] TEXTURE : number Source code:
updateFrameData(key, frameData, cache) Replaces a set of frameData with a new Phaser.FrameData object
new Cache(game) Phaser has one single cache in which it stores all assets. The cache is split up into sections, such as images
checkTextKey(key) → {boolean} Checks if the given key exists in the Text Cache. Parameters
Page 4 of 11