Functional presets

This commit is contained in:
Anuken
2020-05-17 13:07:46 -04:00
parent d9751dbc6d
commit 7b3a5ad227
12 changed files with 34 additions and 27 deletions

View File

@@ -348,7 +348,7 @@ public class PlanetDialog extends FloatingDialog{
//TODO add strings to bundle after prototyping is done
stable.add("[accent]" + selected.id).row();
stable.add("[accent]" + (selected.preset == null ? selected.id : selected.preset.localizedName)).row();
stable.image().color(Pal.accent).fillX().height(3f).pad(3f).row();
stable.add(selected.save != null ? selected.save.getPlayTime() : "[lightgray]Unexplored").row();