add Tower Counter image

master
ShawnieBoy 2015-12-10 16:34:41 +00:00
parent ecec624f19
commit 31dfac977f
3 changed files with 5 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 696 B

View File

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

View File

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