change event dispatcher

This commit is contained in:
2025-11-11 15:15:13 +02:00
parent 35fa1863ff
commit 351c6097f3
10 changed files with 71 additions and 67 deletions
@@ -115,7 +115,7 @@ var PuzzleGame4 = function(context, gltf, w, h){
d:1+0.1*i
})
})
this.onfinish && this.onfinish();
this.dispatchEvent({type:'finish'})
//context.dashboard.addPoints(10);
}
}