interactive objects parametrization

This commit is contained in:
2025-11-02 18:03:46 +02:00
parent 6253fc32d7
commit d8618c69f4
15 changed files with 411 additions and 474 deletions
@@ -2,7 +2,7 @@ import { BoxGeometry, Mesh, MeshBasicMaterial, Group } from 'three';
import { TextureLoader } from 'three/src/loaders/TextureLoader';
import { MotionEngine } from '../../lib/MotionEngine';
class Game1 {
class PuzzleGame1 {
constructor(context, image, w, h) {
this.object = new Group();
const aq = new MotionEngine();
@@ -93,4 +93,4 @@ class Game1 {
}
}
export {Game1}
export { PuzzleGame1 }