mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
update deckaward icons
This commit is contained in:
@@ -244,7 +244,7 @@ public class MapStage extends GameStage {
|
|||||||
dialog.getContentTable().clear();
|
dialog.getContentTable().clear();
|
||||||
dialog.getButtonTable().clear();
|
dialog.getButtonTable().clear();
|
||||||
dialog.clearListeners();
|
dialog.clearListeners();
|
||||||
dialog.getContentTable().add(Controls.newTypingLabel(Controls.colorIdToTypingString(DeckProxy.getColorIdentity(deck)))).align(Align.center);
|
dialog.getContentTable().add(Controls.newTypingLabel("[%150]"+Controls.colorIdToTypingString(DeckProxy.getColorIdentity(deck)))).align(Align.center);
|
||||||
dialog.getContentTable().add().row();
|
dialog.getContentTable().add().row();
|
||||||
|
|
||||||
TypingLabel L = Controls.newTypingLabel(message);
|
TypingLabel L = Controls.newTypingLabel(message);
|
||||||
|
|||||||
@@ -351,20 +351,20 @@ public class Controls {
|
|||||||
|
|
||||||
public static String colorIdToTypingString(ColorSet color)
|
public static String colorIdToTypingString(ColorSet color)
|
||||||
{
|
{
|
||||||
String coloerId="";
|
String colorId="";
|
||||||
if(color.hasWhite())
|
if(color.hasWhite())
|
||||||
coloerId+="[+w]";
|
colorId+="[+w]";
|
||||||
if(color.hasBlue())
|
if(color.hasBlue())
|
||||||
coloerId+="[+u]";
|
colorId+="[+u]";
|
||||||
if(color.hasBlack())
|
if(color.hasBlack())
|
||||||
coloerId+="[+b]";
|
colorId+="[+b]";
|
||||||
if(color.hasRed())
|
if(color.hasRed())
|
||||||
coloerId+="[+r]";
|
colorId+="[+r]";
|
||||||
if(color.hasGreen())
|
if(color.hasGreen())
|
||||||
coloerId+="[+g]";
|
colorId+="[+g]";
|
||||||
if(color.isColorless())
|
if(color.isColorless())
|
||||||
coloerId+="[+c]";
|
colorId+="[+c]";
|
||||||
return coloerId;
|
return colorId;
|
||||||
}
|
}
|
||||||
public static TypingLabel newTypingLabel(String name) {
|
public static TypingLabel newTypingLabel(String name) {
|
||||||
TypingLabel ret = new TypingLabel(name==null?"":name, getSkin(),getTextraFont());
|
TypingLabel ret = new TypingLabel(name==null?"":name, getSkin(),getTextraFont());
|
||||||
|
|||||||
Reference in New Issue
Block a user