Tau idle regen / Fixed non-synced alts / Fixed units not retreating
This commit is contained in:
@@ -134,7 +134,33 @@ public class ContentDisplay{
|
||||
}
|
||||
|
||||
public static void displayMech(Table table, Mech mech){
|
||||
table.table(title -> {
|
||||
title.addImage(mech.getContentIcon()).size(8 * 6);
|
||||
title.add("[accent]" + mech.localizedName()).padLeft(5);
|
||||
});
|
||||
|
||||
table.row();
|
||||
|
||||
table.addImage("white").height(3).color(Color.LIGHT_GRAY).pad(15).padLeft(0).padRight(0).fillX();
|
||||
|
||||
table.row();
|
||||
|
||||
if(mech.description != null){
|
||||
table.add(mech.description).padLeft(5).padRight(5).width(400f).wrap().fillX();
|
||||
table.row();
|
||||
|
||||
table.addImage("white").height(3).color(Color.LIGHT_GRAY).pad(15).padLeft(0).padRight(0).fillX();
|
||||
table.row();
|
||||
}
|
||||
|
||||
table.left().defaults().fillX();
|
||||
|
||||
//TODO stat list goes here
|
||||
//table.add(Bundles.format("text.mech.armor", mech.armor));
|
||||
table.row();
|
||||
//table.add(Bundles.format("text.unit.speed", Strings.toFixed(mech.speed, 1)));
|
||||
table.row();
|
||||
table.row();
|
||||
}
|
||||
|
||||
public static void displayUnit(Table table, UnitType unit){
|
||||
|
||||
Reference in New Issue
Block a user