Skip to content

Commit

Permalink
Changed the Basic Minion to have clear background
Browse files Browse the repository at this point in the history
  • Loading branch information
ssl10003 committed Apr 13, 2015
1 parent bce2feb commit b4cd1a6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Binary file added src/Basic Minion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/Minion.png
Binary file not shown.
8 changes: 4 additions & 4 deletions src/MinionTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

public enum MinionTypes {
//NAME (Health, Attack, Speed)
WEAKLING(100, 1, 1, "Minion.png"),
BASIC (255, 1, 1, "Minion.png"),
SPEEDO (100, 1, 4, "Minion.png"),
SUPERSPEEDO (255, 1, 4, "Minion.png");
WEAKLING(100, 1, 1, "Basic Minion.png"),
BASIC (255, 1, 1, "Basic Minion.png"),
SPEEDO (100, 1, 4, "Basic Minion.png"),
SUPERSPEEDO (255, 1, 4, "Basic Minion.png");

private int health, attackDamage, movementSpeed;
private BufferedImage sprite;
Expand Down
1 change: 1 addition & 0 deletions src/MockGui.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ 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);

}

public void drawAllTowers(TowerFactory TF, Graphics g) {
Expand Down

0 comments on commit b4cd1a6

Please sign in to comment.