Shooting -> Function category / Dialog cleanup

This commit is contained in:
Anuken
2020-10-23 10:39:01 -04:00
parent d66cf13ac6
commit bf1268bb6e
16 changed files with 44 additions and 66 deletions

View File

@@ -1,7 +1,6 @@
package mindustry.ui.dialogs;
import arc.*;
import arc.input.*;
import mindustry.gen.*;
import static mindustry.Vars.*;
@@ -17,11 +16,7 @@ public class PausedDialog extends BaseDialog{
shown(this::rebuild);
keyDown(key -> {
if(key == KeyCode.escape || key == KeyCode.back){
hide();
}
});
addCloseListener();
}
void rebuild(){