From 945067ade7f2026923a4511fb463fd5ab638b8af Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Sun, 20 Feb 2022 15:30:50 +0000 Subject: [PATCH] Update GameHUD.java --- .../src/forge/adventure/stage/GameHUD.java | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/forge-gui-mobile/src/forge/adventure/stage/GameHUD.java b/forge-gui-mobile/src/forge/adventure/stage/GameHUD.java index f79a7a9f232..feef4751b5e 100644 --- a/forge-gui-mobile/src/forge/adventure/stage/GameHUD.java +++ b/forge-gui-mobile/src/forge/adventure/stage/GameHUD.java @@ -7,6 +7,11 @@ import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.scenes.scene2d.Stage; import com.badlogic.gdx.scenes.scene2d.ui.Image; import com.badlogic.gdx.scenes.scene2d.ui.Label; +import com.badlogic.gdx.scenes.scene2d.ui.Skin; +import com.badlogic.gdx.scenes.scene2d.ui.Touchpad; +import com.badlogic.gdx.scenes.scene2d.ui.Touchpad.TouchpadStyle; +import com.badlogic.gdx.scenes.scene2d.utils.ChangeListener; +import com.badlogic.gdx.scenes.scene2d.utils.Drawable; import com.badlogic.gdx.scenes.scene2d.utils.TextureRegionDrawable; import com.badlogic.gdx.utils.viewport.FitViewport; import forge.Forge; @@ -31,7 +36,12 @@ public class GameHUD extends Stage { private final Label lifePoints; private final Label money; private Image miniMap; - UIActor ui; + private UIActor ui; + private Touchpad touchpad; + private TouchpadStyle touchpadStyle; + private Skin touchpadSkin; + private Drawable touchBackground; + private Drawable touchKnob; private GameHUD(GameStage gameStage) { super(new FitViewport(Scene.GetIntendedWidth(), Scene.GetIntendedHeight()), gameStage.getBatch()); @@ -250,4 +260,4 @@ public class GameHUD extends Stage { gameStage.openMenu(); return null; } -} \ No newline at end of file +}