Cache#updateSound()

updateSound(key) Updates the sound object in the cache. Parameters Name Type Description key string The key of the asset within the cache. Source code: loader/Cache.js (Line 709)

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)

Cache#removeXML()

removeXML(key) Removes a xml object from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1807)

Cache#removeVideo()

removeVideo(key) Removes a video from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1822)

Cache#removeTilemap()

removeTilemap(key) Removes a tilemap from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1732)

Cache#removeTextureAtlas()

removeTextureAtlas(key) Removes a Texture Atlas from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1882)

Cache#removeText()

removeText(key) Removes a text file from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1702)

Cache#removeSpriteSheet()

removeSpriteSheet(key) Removes a Sprite Sheet from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1867)

Cache#removeSound()

removeSound(key) Removes a sound from the cache. If any Phaser.Sound objects use the audio file in the cache that you remove with this method, they willautomatically destroy themselves. If you wish to have full control over when Sounds are destroyed thenyou must finish your house-keeping and destroy them all yourself first, before calling this method. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parame

Cache#removeShader()

removeShader(key) Removes a shader from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1837)