Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
micheleciondolo authored May 15, 2024
1 parent c064edb commit e09c856
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ Main.prototype = {
this.cursors = this.game.input.keyboard.createCursorKeys();

this.timer = game.time.events.loop(this.rate, this.addObstacles, this);
this.timer2 = game.time.events.loop(this.rate2, this.addBenefits, this);

//this.Scoretimer = game.time.events.loop(100, this.incrementScore, this);

},
Expand Down

0 comments on commit e09c856

Please sign in to comment.