phantasmal-world/test/src/core/rendering/StubThreeRenderer.ts

12 lines
369 B
TypeScript
Raw Normal View History

2020-01-20 00:16:28 +08:00
import { DisposableThreeRenderer } from "../../../../src/core/rendering/ThreeRenderer";
export class StubThreeRenderer implements DisposableThreeRenderer {
domElement: HTMLCanvasElement = document.createElement("canvas");
dispose(): void {} // eslint-disable-line
render(): void {} // eslint-disable-line
setSize(): void {} // eslint-disable-line
}