Add more CounterType Images
Before Width: | Height: | Size: 315 B After Width: | Height: | Size: 853 B |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 844 B |
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|