Cache#checkImageKey()

checkImageKey(key) → {boolean}

Checks if the given key exists in the Image Cache. Note that this also includes Texture Atlases, Sprite Sheets and Retro Fonts.

Parameters
Name Type Description
key string

The key of the asset within the cache.

Returns
boolean -

True if the key exists in the cache, otherwise false.

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

Please login to continue.