mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-16 14:55:22 +01:00
* [Dev] Enable Biome import sorting Additional changes: - Implement import aliases - Convert default exports to named exports - Remove relative imports * Apply changes * Misc fixes * Merge cleanup
23 lines
620 B
TypeScript
23 lines
620 B
TypeScript
import { MockGraphics } from "#test/testUtils/mocks/mocksContainer/mockGraphics";
|
|
import type { MockTextureManager } from "#test/testUtils/mocks/mockTextureManager";
|
|
|
|
export class MockGameObjectCreator {
|
|
private readonly textureManager: MockTextureManager;
|
|
|
|
constructor(textureManager: MockTextureManager) {
|
|
console.log("Mocking Phaser.GameObjects.GameObjectCreator;");
|
|
this.textureManager = textureManager;
|
|
}
|
|
|
|
graphics(config: any) {
|
|
return new MockGraphics(this.textureManager, config);
|
|
}
|
|
|
|
rexTransitionImagePack() {
|
|
return {
|
|
transit: () => null,
|
|
once: () => null,
|
|
};
|
|
}
|
|
}
|