summaryrefslogtreecommitdiff
path: root/core/src/kz/ilotterytea/maxon/screens
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-10-06 00:17:50 +0500
committerilotterytea <iltsu@alright.party>2024-10-06 00:17:50 +0500
commit964aca366e36b8d3a60d57bbbb2838cd04314e03 (patch)
treec4891a8951e962cfa75067c9eea24477d5577b77 /core/src/kz/ilotterytea/maxon/screens
parent2eee5c2cc487d0657fadef78d3fcb547885619e3 (diff)
feat: quick actions (just a quit button)
Diffstat (limited to 'core/src/kz/ilotterytea/maxon/screens')
-rw-r--r--core/src/kz/ilotterytea/maxon/screens/game/GameScreen.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/kz/ilotterytea/maxon/screens/game/GameScreen.java b/core/src/kz/ilotterytea/maxon/screens/game/GameScreen.java
index 29756bf..b5f99be 100644
--- a/core/src/kz/ilotterytea/maxon/screens/game/GameScreen.java
+++ b/core/src/kz/ilotterytea/maxon/screens/game/GameScreen.java
@@ -33,6 +33,7 @@ import kz.ilotterytea.maxon.player.Savegame;
import kz.ilotterytea.maxon.screens.MenuScreen;
import kz.ilotterytea.maxon.screens.game.shop.ShopUI;
import kz.ilotterytea.maxon.ui.*;
+import kz.ilotterytea.maxon.ui.game.QuickActionsTable;
import kz.ilotterytea.maxon.utils.OsUtils;
import kz.ilotterytea.maxon.utils.math.Math;
import com.rafaskoberg.gdx.typinglabel.TypingLabel;
@@ -445,6 +446,8 @@ public class GameScreen implements Screen, InputProcessor {
DebugWidget debugWidget = new DebugWidget(uiSkin);
this.stage.addActor(debugWidget);
+
+ this.stage.addActor(new QuickActionsTable(this.game.assetManager.get("sprites/gui/widgets.skin", Skin.class)));
}
@Override