mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-06 18:09:10 +00:00
* move test folder * Update vitest files * rename test/utils to test/testUtils * Remove stray utils/gameManager Got put back from a rebase
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) {
|
|
}
|
|
}
|