Add Video cache

This commit is contained in:
Richard Davey 2019-10-03 14:13:32 +01:00
parent 3a53618bc7
commit 3c7b05a52a

View file

@ -94,6 +94,15 @@ var CacheManager = new Class({
*/
this.audio = new BaseCache();
/**
* A Cache storing all non-streaming video files, typically added via the Loader.
*
* @name Phaser.Cache.CacheManager#video
* @type {Phaser.Cache.BaseCache}
* @since 3.20.0
*/
this.video = new BaseCache();
/**
* A Cache storing all text files, typically added via the Loader.
*
@ -190,6 +199,7 @@ var CacheManager = new Class({
'physics',
'shader',
'audio',
'video',
'text',
'html',
'obj',