add icon for Death counter

master
ShawnieBoy 2015-06-10 17:41:18 +01:00
parent 9328b34925
commit ec5fcb93ad
3 changed files with 12 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

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

View File

@ -386,34 +386,38 @@ public class ImageDrawingUtils {
g.drawImage(IconImages.getIcon(MagicIcon.GROWTHCOUNTER).getImage(),ax,ay,observer);
if (amount > 1){drawStringWithOutline(g, str, ax+6, ay+14, observer);}
ax+=inc;
} else if (counterType == MagicCounterType.Wage) {
} else if (counterType == MagicCounterType.Wage) {
g.drawImage(IconImages.getIcon(MagicIcon.BRIBECOUNTER).getImage(),ax,ay,observer);
if (amount > 1){drawStringWithOutline(g, str, ax+6, ay+14, observer);}
ax+=inc;
} else if (counterType == MagicCounterType.Plague) {
} else if (counterType == MagicCounterType.Plague) {
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) {
} 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;
} else if (counterType == MagicCounterType.Healing) {
} else if (counterType == MagicCounterType.Healing) {
g.drawImage(IconImages.getIcon(MagicIcon.HEALINGCOUNTER).getImage(),ax,ay,observer);
if (amount > 1){drawStringWithOutline(g, str, ax+6, ay+14, observer);}
ax+=inc;
} else if (counterType == MagicCounterType.Scream) {
} else if (counterType == MagicCounterType.Scream) {
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) {
} 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;
} else if (counterType == MagicCounterType.Divinity) {
} else if (counterType == MagicCounterType.Divinity) {
g.drawImage(IconImages.getIcon(MagicIcon.DIVINITYCOUNTER).getImage(),ax,ay,observer);
if (amount > 1){drawStringWithOutline(g, str, ax+6, ay+14, observer);}
ax+=inc;
} else if (counterType == MagicCounterType.Death) {
g.drawImage(IconImages.getIcon(MagicIcon.DEATHCOUNTER).getImage(),ax,ay,observer);
if (amount > 1){drawStringWithOutline(g, str, ax+6, ay+14, observer);}
ax+=inc;
}
}
}