forked from trent_larson/crowd-funder-for-time-pwa
add timing & animation details to stats-world
This commit is contained in:
@@ -24,6 +24,8 @@ class World {
|
||||
|
||||
this.update = this.update.bind(this);
|
||||
|
||||
this.vue = vue;
|
||||
|
||||
// Instances of camera, scene, and renderer
|
||||
this.camera = createCamera();
|
||||
this.scene = createScene(COLOR2);
|
||||
@@ -99,6 +101,10 @@ class World {
|
||||
stop() {
|
||||
this.loop.stop();
|
||||
}
|
||||
|
||||
setExposedWorldProperties(key, value) {
|
||||
this.vue.setWorldProperty(key, value);
|
||||
}
|
||||
}
|
||||
|
||||
export { World };
|
||||
|
||||
Reference in New Issue
Block a user