mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-27 12:09:36 +00:00
35 lines
487 B
TypeScript
35 lines
487 B
TypeScript
import CacheManager = Phaser.Cache.CacheManager;
|
|
|
|
export default class MockLoader {
|
|
public cacheManager;
|
|
constructor(scene) {
|
|
this.cacheManager = new CacheManager(scene);
|
|
}
|
|
|
|
once(_event, callback) {
|
|
callback();
|
|
}
|
|
|
|
setBaseURL(_url) {
|
|
return null;
|
|
}
|
|
|
|
video() {
|
|
return null;
|
|
}
|
|
|
|
spritesheet(_key, _url, _frameConfig) {}
|
|
|
|
audio(_key, _url) {}
|
|
|
|
isLoading() {
|
|
return false;
|
|
}
|
|
|
|
start() {}
|
|
|
|
image() {}
|
|
|
|
atlas(_key, _textureUrl, _atlasUrl) {}
|
|
}
|