Custom wave patterns / Fixed checkbox sprite / Bugfixes
This commit is contained in:
@@ -124,7 +124,7 @@ public class HudFragment extends Fragment{
|
||||
stuff.add(stack).width(dsize * 4 + 3f);
|
||||
stuff.row();
|
||||
stuff.table("button", t -> t.margin(10f).add(new Bar("boss.health", Pal.health, () -> state.boss() == null ? 0f : state.boss().healthf()).blink(Color.WHITE))
|
||||
.grow()).fillX().visible(() -> world.isZone() && state.boss() != null).height(60f).get();
|
||||
.grow()).fillX().visible(() -> state.rules.waves && state.boss() != null).height(60f).get();
|
||||
stuff.row();
|
||||
}).visible(() -> shown);
|
||||
});
|
||||
|
||||
@@ -138,7 +138,7 @@ public class MenuFragment extends Fragment{
|
||||
FloatingDialog dialog = new FloatingDialog("$play");
|
||||
dialog.setFillParent(false);
|
||||
dialog.addCloseButton();
|
||||
dialog.cont.defaults().size(230f, 64f);
|
||||
dialog.cont.defaults().size(210f, 64f);
|
||||
dialog.cont.add(new MenuButton("icon-editor", "$newgame", () -> {
|
||||
dialog.hide();
|
||||
ui.custom.show();
|
||||
|
||||
Reference in New Issue
Block a user