add Pin counter
parent
84e29b34d2
commit
43b17ab4e4
Binary file not shown.
After Width: | Height: | Size: 594 B |
|
@ -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"),
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue