Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/jimboy' into refactoring
Browse files Browse the repository at this point in the history
Conflicts:
	src/MockGui.java - fixed!
  • Loading branch information
dwm10005 committed Apr 17, 2015
2 parents 02fb847 + 1cf4b22 commit 5fe7d33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MockGui.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ public void drawMinion(int x, int y, int health, Graphics g) {
public void drawMinion(MinionMock m, Graphics g)
{
g.drawImage(m.getSprite(), m.getX(), m.getY(), null);
String healthBar = String.format("[%s/%s]", m.getHealth(), m.getMaxHealth());
String h = String.format("[%s/%s]", m.getHealth(), m.getMaxHealth());
g.setColor(Color.RED);
g.drawString(healthBar, m.getX()-15, m.getY()-10);
//g.drawString(m.getName(), m.getX()-15, m.getY()+45);
g.drawString(h, m.getX()-15, m.getY()-10);
g.drawString(m.getName(), m.getX()-15, m.getY()+45);
//g.drawString(("V: " + m.getValue() + "\nD: " + m.getAttackDamage()), m.getX(), m.getY()+46);
}

Expand Down

0 comments on commit 5fe7d33

Please sign in to comment.