Commit c22a3c1e authored by Theodore Lopez's avatar Theodore Lopez

added new draw binding for gold

parent f0b30cdd
......@@ -64,7 +64,7 @@ public class AvatarDisplayer
/** Gold **/
g.setColor(goldColor);
g.setFont(new Font("Arial", Font.PLAIN, 20));
g.drawString("" + character.getGold(), 100,50);
g.drawString("Gold : " + character.getGold(), 100,50);
// /** Exp **/
// g.setColor(expColorPassive);
......
......@@ -13,5 +13,6 @@ public enum EntityDisplayerType {
PONYTA,
DIAGLA,
FIREBOLT,
FROSTBOLT
FROSTBOLT,
GOLD
}
......@@ -28,7 +28,7 @@ public class SpriteStorage {
diagla = new Sprite(ImageIO.read(UsedForLoadingSprites.getInstance().getClass().getResource("diagla.png")));
firebolt = new Sprite(ImageIO.read(UsedForLoadingSprites.getInstance().getClass().getResource("firebolt.png")));
frostbolt = new Sprite(ImageIO.read(UsedForLoadingSprites.getInstance().getClass().getResource("frostbolt.png")));
gold = new Sprite(ImageIO.read(UsedForLoadingSprites.getInstance().getClass().getResource("GOLD.png")));
} catch (IOException e) {
e.printStackTrace();
......@@ -44,6 +44,7 @@ public class SpriteStorage {
private Sprite diagla;
private Sprite firebolt;
private Sprite frostbolt;
private Sprite gold;
public Sprite getHealthBar1Container() {
return healthBar1Container;
......@@ -69,6 +70,10 @@ public class SpriteStorage {
return ponyta;
}
public Sprite getGold(){
return gold;
}
public Sprite getDiagla(){
return diagla;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment