Update engineControllerBase.ts

This commit is contained in:
syuilo 2026-05-15 22:03:01 +09:00 committed by GitHub
commit 2867f03f50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,8 @@ export type EngineControllerBaseOptions = {
antialias: boolean;
};
// 抽象化レイヤー
// UIとエンジンの間に挟まり抽象化を行うレイヤー。
// UIからは、エンジンが直で動いててもワーカーで動いてても同じように操作できるように見える
export abstract class EngineControllerBase<T extends RoomEngineBase> {
private worker: Worker | null = null;
private engine: T | null = null;