mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-09 11:31:49 +00:00
43 lines
495 B
TypeScript
43 lines
495 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) {
|
||
|
}
|
||
|
}
|