refactoring

This commit is contained in:
2025-12-06 09:29:16 +02:00
parent d8a1a857d0
commit f7955404a9
13 changed files with 54 additions and 79 deletions
@@ -1,7 +1,8 @@
import { BoxGeometry, Mesh, MeshStandardMaterial, Group, EventDispatcher } from 'three';
import { BoxGeometry, Mesh, MeshStandardMaterial, Group } from 'three';
import { centerOrigin } from '@/lib/MeshUtils';
import { EventManager } from '@/lib/EventManager';
class PuzzleGame1 extends EventDispatcher {
class PuzzleGame1 extends EventManager {
emits = ['finish']
constructor(engine, data) {
super();