add Pin counter

master
ShawnieBoy 2015-06-02 01:33:45 +01:00
parent 84e29b34d2
commit 43b17ab4e4
3 changed files with 5 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 594 B

View File

@ -175,6 +175,7 @@ public enum MagicIcon {
BLOODCOUNTER("blood-counter.png"),
GROWTHCOUNTER("spore-counter.png"),
PLAGUECOUNTER("spore-counter.png"),
PINCOUNTER("pin-counter.png"),
MANA_ANY("anymana.gif"),

View File

@ -394,6 +394,10 @@ public class ImageDrawingUtils {
g.drawImage(IconImages.getIcon(MagicIcon.PLAGUECOUNTER).getImage(),ax,ay,observer);
if (amount > 1){drawStringWithOutline(g, str, ax+6, ay+14, observer);}
ax+=inc;
} else if (counterType == MagicCounterType.Pin) {
g.drawImage(IconImages.getIcon(MagicIcon.PINCOUNTER).getImage(),ax,ay,observer);
if (amount > 1){drawStringWithOutline(g, str, ax+6, ay+14, observer);}
ax+=inc;
}
}
}