Add verse and music counter, plus image
parent
a93a7d339a
commit
b4aab2ef3e
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
|
@ -2,6 +2,8 @@ package magic.data;
|
|||
|
||||
import javax.swing.ImageIcon;
|
||||
|
||||
import org.omg.CORBA.PUBLIC_MEMBER;
|
||||
|
||||
import java.awt.image.BufferedImage;
|
||||
|
||||
public class IconImages {
|
||||
|
@ -167,6 +169,8 @@ public class IconImages {
|
|||
public static final ImageIcon TIDECOUNTER=loadIcon("tide-counter.png");
|
||||
public static final ImageIcon GEMCOUNTER=loadIcon("gem-counter.png");
|
||||
public static final ImageIcon PRESSURECOUNTER=loadIcon("pressure-counter.png");
|
||||
public static final ImageIcon VERSECOUNTER=loadIcon("verse-counter.png");
|
||||
public static final ImageIcon MUSICCOUNTER=loadIcon("verse-counter.png");
|
||||
|
||||
public static final ImageIcon ANY_MANA=loadIcon("anymana.gif");
|
||||
public static final ImageIcon TAPPED=loadSymbolIcon(50, false);
|
||||
|
|
|
@ -313,6 +313,14 @@ public class ImageDrawingUtils {
|
|||
g.drawImage(IconImages.PRESSURECOUNTER.getImage(),ax,ay,observer);
|
||||
if (amount > 1){drawStringWithOutline(g, str, ax+6, ay+14, observer);}
|
||||
ax+=inc;
|
||||
} else if (counterType == MagicCounterType.Verse) {
|
||||
g.drawImage(IconImages.VERSECOUNTER.getImage(),ax,ay,observer);
|
||||
if (amount > 1){drawStringWithOutline(g, str, ax+6, ay+14, observer);}
|
||||
ax+=inc;
|
||||
} else if (counterType == MagicCounterType.Music) {
|
||||
g.drawImage(IconImages.MUSICCOUNTER.getImage(),ax,ay,observer);
|
||||
if (amount > 1){drawStringWithOutline(g, str, ax+6, ay+14, observer);}
|
||||
ax+=inc;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue