refactoring
This commit is contained in:
@@ -560,6 +560,15 @@ class GameEngine extends THREE.EventDispatcher{
|
||||
}
|
||||
this.stats?.update()
|
||||
}
|
||||
|
||||
clearScene(){
|
||||
// this.hero?.destroy();
|
||||
// this.dashboard?.reset();
|
||||
// this.activeObjects.clear();
|
||||
// this.physics.clear();
|
||||
// this.clickable.removeAll();
|
||||
// this.motionQueue.clearAll();
|
||||
}
|
||||
}
|
||||
|
||||
export { GameEngine }
|
||||
Reference in New Issue
Block a user