Launchpad block

This commit is contained in:
Anuken
2019-01-09 11:44:33 -05:00
parent 048b7bd32f
commit 33afab7294
17 changed files with 3161 additions and 3078 deletions

View File

@@ -14,8 +14,11 @@ public class DeployDialog extends FloatingDialog{
}
void setup(){
buttons().clear();
content().clear();
addCloseButton();
content().stack(new Table(){{
top().left().margin(10);
@@ -29,7 +32,10 @@ public class DeployDialog extends FloatingDialog{
}
}
}}, new Table(){{
addButton("$text.play", () -> Vars.world.generator.playRandomMap()).margin(15);
addButton("$text.play", () -> {
hide();
Vars.world.generator.playRandomMap();
}).margin(15);
}}).grow();
}
}