mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +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();
|
||||
|
||||
/**
|
||||
* 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',
|
||||
|
|
Loading…
Reference in a new issue