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 ...@@ -64,7 +64,7 @@ public class AvatarDisplayer
/** Gold **/ /** Gold **/
g.setColor(goldColor); g.setColor(goldColor);
g.setFont(new Font("Arial", Font.PLAIN, 20)); g.setFont(new Font("Arial", Font.PLAIN, 20));
g.drawString("" + character.getGold(), 100,50); g.drawString("Gold : " + character.getGold(), 100,50);
// /** Exp **/ // /** Exp **/
// g.setColor(expColorPassive); // g.setColor(expColorPassive);
......
...@@ -13,5 +13,6 @@ public enum EntityDisplayerType { ...@@ -13,5 +13,6 @@ public enum EntityDisplayerType {
PONYTA, PONYTA,
DIAGLA, DIAGLA,
FIREBOLT, FIREBOLT,
FROSTBOLT FROSTBOLT,
GOLD
} }
...@@ -28,7 +28,7 @@ public class SpriteStorage { ...@@ -28,7 +28,7 @@ public class SpriteStorage {
diagla = new Sprite(ImageIO.read(UsedForLoadingSprites.getInstance().getClass().getResource("diagla.png"))); diagla = new Sprite(ImageIO.read(UsedForLoadingSprites.getInstance().getClass().getResource("diagla.png")));
firebolt = new Sprite(ImageIO.read(UsedForLoadingSprites.getInstance().getClass().getResource("firebolt.png"))); firebolt = new Sprite(ImageIO.read(UsedForLoadingSprites.getInstance().getClass().getResource("firebolt.png")));
frostbolt = new Sprite(ImageIO.read(UsedForLoadingSprites.getInstance().getClass().getResource("frostbolt.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) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
...@@ -44,6 +44,7 @@ public class SpriteStorage { ...@@ -44,6 +44,7 @@ public class SpriteStorage {
private Sprite diagla; private Sprite diagla;
private Sprite firebolt; private Sprite firebolt;
private Sprite frostbolt; private Sprite frostbolt;
private Sprite gold;
public Sprite getHealthBar1Container() { public Sprite getHealthBar1Container() {
return healthBar1Container; return healthBar1Container;
...@@ -69,6 +70,10 @@ public class SpriteStorage { ...@@ -69,6 +70,10 @@ public class SpriteStorage {
return ponyta; return ponyta;
} }
public Sprite getGold(){
return gold;
}
public Sprite getDiagla(){ public Sprite getDiagla(){
return diagla; 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