Added Unlocks menu button to Escape menu on desktop (#324)

This commit is contained in:
Timmeey86
2018-11-11 19:03:15 +01:00
committed by Anuken
parent ece3f96867
commit c9777af91c
2 changed files with 4 additions and 1 deletions

View File

@@ -155,6 +155,7 @@ public class UI extends SceneModule{
load = new LoadDialog(); load = new LoadDialog();
levels = new CustomGameDialog(); levels = new CustomGameDialog();
language = new LanguageDialog(); language = new LanguageDialog();
unlocks = new UnlocksDialog();
settings = new SettingsMenuDialog(); settings = new SettingsMenuDialog();
host = new HostDialog(); host = new HostDialog();
paused = new PausedDialog(); paused = new PausedDialog();
@@ -165,7 +166,6 @@ public class UI extends SceneModule{
traces = new TraceDialog(); traces = new TraceDialog();
maps = new MapsDialog(); maps = new MapsDialog();
localplayers = new LocalPlayerDialog(); localplayers = new LocalPlayerDialog();
unlocks = new UnlocksDialog();
content = new ContentInfoDialog(); content = new ContentInfoDialog();
sectors = new SectorsDialog(); sectors = new SectorsDialog();
missions = new MissionDialog(); missions = new MissionDialog();

View File

@@ -57,6 +57,9 @@ public class PausedDialog extends FloatingDialog{
hide(); hide();
}); });
content().row();
content().addButton("$text.unlocks", ui.unlocks::show);
content().row(); content().row();
content().addButton("$text.settings", ui.settings::show); content().addButton("$text.settings", ui.settings::show);