mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Add Video cache
This commit is contained in:
parent
3a53618bc7
commit
3c7b05a52a
1 changed files with 10 additions and 0 deletions
10
src/cache/CacheManager.js
vendored
10
src/cache/CacheManager.js
vendored
|
@ -94,6 +94,15 @@ var CacheManager = new Class({
|
||||||
*/
|
*/
|
||||||
this.audio = new BaseCache();
|
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.
|
* A Cache storing all text files, typically added via the Loader.
|
||||||
*
|
*
|
||||||
|
@ -190,6 +199,7 @@ var CacheManager = new Class({
|
||||||
'physics',
|
'physics',
|
||||||
'shader',
|
'shader',
|
||||||
'audio',
|
'audio',
|
||||||
|
'video',
|
||||||
'text',
|
'text',
|
||||||
'html',
|
'html',
|
||||||
'obj',
|
'obj',
|
||||||
|
|
Loading…
Add table
Reference in a new issue