add Wind counter

master
ShawnieBoy 2015-06-13 17:34:53 +01:00
parent dbcaadfb26
commit 2aee0feaf7
3 changed files with 5 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 538 B

View File

@ -181,6 +181,7 @@ public enum MagicIcon {
DEVOTIONCOUNTER("devotion-counter.png"),
DIVINITYCOUNTER("divinity-counter.png"),
DEATHCOUNTER("death-counter.png"),
WINDCOUNTER("wind-counter.png"),
MANA_ANY("anymana.gif"),

View File

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