add getEmoji() method (#8739)
This commit is contained in:
@@ -65,6 +65,10 @@ public class UnitCommand{
|
||||
return Icon.icons.get(icon, Icon.cancel);
|
||||
}
|
||||
|
||||
public char getEmoji() {
|
||||
return (char) Iconc.codes.get(icon, Iconc.cancel);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString(){
|
||||
return "UnitCommand:" + name;
|
||||
|
||||
Reference in New Issue
Block a user