refactoring
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user