This commit is contained in:
Thomas FORGIONE
2015-07-09 17:48:46 +02:00
parent 007da125ae
commit 18e7285a7f
6 changed files with 9 additions and 9 deletions

View File

@@ -23,7 +23,7 @@ Coin.setSize = function(width,height) {
this.domElement.width = width;
this.domElement.height = height;
this.update();
}
};
Coin.image = new Image();
Coin.image.src = '/static/img/redcoin.png';

View File

@@ -108,13 +108,13 @@ TutorialSteps.prototype.addCoin = function(coin) {
this.coins.push(coin);
coin.addToScene(this.scene);
this.clickableObjects.push(coin);
}
};
TutorialSteps.prototype.addRecommendation = function(reco) {
this.cameras.push(reco);
reco.addToScene(this.scene);
this.clickableObjects.push(reco);
}
};
TutorialSteps.prototype.nextStep = function() {
if (this.step < this.instructions.length) {