Re-added sand, better teleporter/sorter UI
This commit is contained in:
@@ -52,7 +52,7 @@ public class MenuDialog extends FloatingDialog{
|
||||
content().row();
|
||||
content().addButton("$text.loadgame", () -> {
|
||||
load.show();
|
||||
});
|
||||
}).disabled(Net.active());
|
||||
|
||||
content().row();
|
||||
|
||||
@@ -89,7 +89,7 @@ public class MenuDialog extends FloatingDialog{
|
||||
|
||||
content().row();
|
||||
|
||||
new imagebutton("icon-load", isize, () -> load.show()).text("$text.load").padTop(4f);
|
||||
new imagebutton("icon-load", isize, () -> load.show()).text("$text.load").padTop(4f).disabled(Net.active());
|
||||
|
||||
new imagebutton("icon-host", isize, () -> ui.showHostServer()).text("$text.host").padTop(4f);
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
package io.anuke.mindustry.ui.fragments;
|
||||
|
||||
public class ChatFragment implements Fragment {
|
||||
//TODO
|
||||
@Override
|
||||
public void build() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -52,7 +52,7 @@ public class MenuFragment implements Fragment{
|
||||
get().margin(16);
|
||||
}}.end();
|
||||
|
||||
visible(()->GameState.is(State.menu));
|
||||
visible(()-> GameState.is(State.menu));
|
||||
}}.end();
|
||||
}else{
|
||||
new table(){{
|
||||
|
||||
Reference in New Issue
Block a user