Skip to content

Commit

Permalink
Add background function
Browse files Browse the repository at this point in the history
Issue: #41
  • Loading branch information
nicolasbock committed Oct 10, 2018
1 parent d615b78 commit 54d44cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ var obstacleExplodingWall = function(x, y) {
}
};

var drawBackground = function() {};

var drawFloor = function() {
let strokeColors = ["black", "black"];
let fillColors = ["darkblue", "yellow"];
Expand Down Expand Up @@ -398,6 +400,7 @@ var draw = function() {

drawStats();
drawSoundButton();
drawBackground();
drawObstacles();
drawHero();
drawFloor();
Expand Down

0 comments on commit 54d44cc

Please sign in to comment.