add Devotion counter

master
ShawnieBoy 2015-06-06 22:05:18 +01:00
parent 1772dbbc35
commit 047c03d372
3 changed files with 5 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -178,6 +178,7 @@ public enum MagicIcon {
PINCOUNTER("pin-counter.png"),
HEALINGCOUNTER("healing-counter.png"),
SCREAMCOUNTER("scream-counter.png"),
DEVOTIONCOUNTER("devotion-counter.png"),
MANA_ANY("anymana.gif"),

View File

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