mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-10 17:39:31 +02:00
* Standardize filenames to kebab-case Co-authored-by: pymilkmaiden <cassiopeiamahler56@gmail.com> * Move script outside of public folder * Move update_exp_sprites to scripts * Add ls-lint to lint file and directory names * Update lefthook.yml to skip merge / rebase on all pre-commit commands --------- Co-authored-by: pymilkmaiden <cassiopeiamahler56@gmail.com>
37 lines
508 B
TypeScript
37 lines
508 B
TypeScript
import Phaser from "phaser";
|
|
|
|
const CacheManager = Phaser.Cache.CacheManager;
|
|
|
|
export 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) {}
|
|
}
|