Skip to content

Commit

Permalink
swapped out board graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
nolastan committed Mar 29, 2012
1 parent d10e8a2 commit 552743d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions html5/board.js
Expand Up @@ -232,16 +232,16 @@ this.DrawBoard = function()
x: partyRect.x + partyRect.width / 3.75,
y: partyRect.y + partyRect.height / 2.75,
image: partyImageObj,
width: partyRect.width / 2,
height: partyRect.height / 2.5
width: partyRect.width / 5,
height: partyRect.height / 2
});

// add the shape to the layer
partyPicLayer.add(image);

stage.add(partyPicLayer);
};
partyImageObj.src = "images/party.jpg";
partyImageObj.src = "images/party_icon.png";

// Add service picture
var serviceImageObj = new Image();
Expand All @@ -252,7 +252,7 @@ this.DrawBoard = function()
x: csRect.x + csRect.width / 3.75,
y: csRect.y + csRect.height / 2.75,
image: serviceImageObj,
width: csRect.width / 2,
width: csRect.width / 3,
height: csRect.height / 2.5
});

Expand All @@ -261,7 +261,7 @@ this.DrawBoard = function()

stage.add(servicePicLayer);
};
serviceImageObj.src = "images/service.jpg";
serviceImageObj.src = "images/cs_icon.png";

// Add rush picture
var rushImageObj = new Image();
Expand All @@ -272,7 +272,7 @@ this.DrawBoard = function()
x: rushRect.x + rushRect.width / 3.25,
y: rushRect.y + rushRect.height / 2.75,
image: rushImageObj,
width: rushRect.width / 2.5,
width: rushRect.width / 3,
height: rushRect.height / 2.5
});

Expand All @@ -281,7 +281,7 @@ this.DrawBoard = function()

stage.add(rushPicLayer);
};
rushImageObj.src = "images/rush.jpg";
rushImageObj.src = "images/rush_icon.png";

// Add study picture
var studyImageObj = new Image();
Expand All @@ -292,7 +292,7 @@ this.DrawBoard = function()
x: studyRect.x + studyRect.width / 3.25,
y: studyRect.y + studyRect.height / 2.75,
image: studyImageObj,
width: studyRect.width / 2.5,
width: studyRect.width / 3,
height: studyRect.height / 2.5
});

Expand All @@ -301,7 +301,7 @@ this.DrawBoard = function()

stage.add(studyPicLayer);
};
studyImageObj.src = "images/study.jpg";
studyImageObj.src = "images/study_icon.png";

// Draw the text inside of the rectangles
stage.add(messageLayer);
Expand Down
Binary file added html5/images/cs_icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added html5/images/party_icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added html5/images/rush_icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added html5/images/study_icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 552743d

Please sign in to comment.