Add more CounterType Images

master
ShawnieBoy 2014-02-11 20:46:27 +00:00
parent 56995c0538
commit f86f4ed368
8 changed files with 25 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 B

After

Width:  |  Height:  |  Size: 853 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 844 B

View File

@ -136,6 +136,11 @@ public class IconImages {
public static final ImageIcon LOYALTYCOUNTER=loadIcon("loyalty-counter.png");
public static final ImageIcon KICOUNTER=loadIcon("ki-counter.png");
public static final ImageIcon DEPLETIONCOUNTER=loadIcon("depletion-counter.png");
public static final ImageIcon MININGCOUNTER=loadIcon("mining-counter.png");
public static final ImageIcon MUSTERCOUNTER=loadIcon("muster-counter.png");
public static final ImageIcon TREASURECOUNTER=loadIcon("treasure-counter.png");
public static final ImageIcon STRIFECOUNTER=loadIcon("strike-counter.png");
public static final ImageIcon STUDYCOUNTER=loadIcon("study-counter.png");
public static final ImageIcon ANY_MANA=loadIcon("anymana.gif");
public static final ImageIcon TAPPED=loadSymbolIcon(50, false);

View File

@ -236,6 +236,26 @@ public class ImageDrawingUtils {
g.drawImage(IconImages.DEPLETIONCOUNTER.getImage(),ax,ay,observer);
if (amount > 1){drawStringWithOutline(g, str, ax+6, ay+14, observer);}
ax+=inc;
} else if (counterType == MagicCounterType.Mining) {
g.drawImage(IconImages.MININGCOUNTER.getImage(),ax,ay,observer);
if (amount > 1){drawStringWithOutline(g, str, ax+6, ay+14, observer);}
ax+=inc;
} else if (counterType == MagicCounterType.Muster) {
g.drawImage(IconImages.MUSTERCOUNTER.getImage(),ax,ay,observer);
if (amount > 1){drawStringWithOutline(g, str, ax+6, ay+14, observer);}
ax+=inc;
} else if (counterType == MagicCounterType.Treasure) {
g.drawImage(IconImages.TREASURECOUNTER.getImage(),ax,ay,observer);
if (amount > 1){drawStringWithOutline(g, str, ax+6, ay+14, observer);}
ax+=inc;
} else if (counterType == MagicCounterType.Strife) {
g.drawImage(IconImages.STRIFECOUNTER.getImage(),ax,ay,observer);
if (amount > 1){drawStringWithOutline(g, str, ax+6, ay+14, observer);}
ax+=inc;
} else if (counterType == MagicCounterType.Study) {
g.drawImage(IconImages.STUDYCOUNTER.getImage(),ax,ay,observer);
if (amount > 1){drawStringWithOutline(g, str, ax+6, ay+14, observer);}
ax+=inc;
}
}
}