Cache#getKeys()

getKeys(cache) → {Array}

Gets all keys used in the requested Cache.

Parameters
Name Type Argument Default Description
cache integer <optional>
Phaser.Cache.IMAGE

The Cache you wish to get the keys from. Can be any of the Cache consts such as Phaser.Cache.IMAGE, Phaser.Cache.SOUND etc.

Returns
Array -

The array of keys in the requested cache.

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

Please login to continue.