mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-09 11:31:49 +00:00
14 lines
347 B
TypeScript
14 lines
347 B
TypeScript
|
import { vi } from "vitest";
|
||
|
import { MockGameObject } from "./mockGameObject";
|
||
|
|
||
|
/** Mocks video-related stuff */
|
||
|
export class MockVideoGameObject implements MockGameObject {
|
||
|
constructor() {}
|
||
|
|
||
|
public play = vi.fn();
|
||
|
public stop = vi.fn(() => this);
|
||
|
public setOrigin = vi.fn();
|
||
|
public setScale = vi.fn();
|
||
|
public setVisible = vi.fn();
|
||
|
}
|