From 213dcf3a6aae0cfac8d57b1fdf6d0185bab27f0a Mon Sep 17 00:00:00 2001 From: noisymouse27f Date: Thu, 11 Sep 2025 11:54:14 +0100 Subject: [PATCH] Update BattlefieldScreen.java, BattlefieldScreen.java, and TechnicClient.java, move screen to its own package and cleaned up unused import --- .../src/main/java/com/ghost/technic/TechnicClient.java | 10 +--------- .../ghost/technic/{ => screen}/BattlefieldScreen.java | 3 ++- 2 files changed, 3 insertions(+), 10 deletions(-) rename core/src/main/java/com/ghost/technic/{ => screen}/BattlefieldScreen.java (94%) diff --git a/core/src/main/java/com/ghost/technic/TechnicClient.java b/core/src/main/java/com/ghost/technic/TechnicClient.java index be353c6..418f8c1 100644 --- a/core/src/main/java/com/ghost/technic/TechnicClient.java +++ b/core/src/main/java/com/ghost/technic/TechnicClient.java @@ -5,16 +5,8 @@ import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Screen; import com.badlogic.gdx.assets.AssetManager; import com.badlogic.gdx.graphics.g2d.TextureAtlas; -import com.badlogic.gdx.math.MathUtils; -import com.badlogic.gdx.scenes.scene2d.Actor; -import com.badlogic.gdx.scenes.scene2d.Stage; -import com.badlogic.gdx.scenes.scene2d.actions.Actions; import com.badlogic.gdx.scenes.scene2d.ui.Skin; -import com.badlogic.gdx.scenes.scene2d.ui.TextButton; -import com.badlogic.gdx.scenes.scene2d.ui.Window; -import com.badlogic.gdx.scenes.scene2d.utils.ChangeListener; -import com.badlogic.gdx.utils.ScreenUtils; -import com.badlogic.gdx.utils.viewport.FitViewport; +import com.ghost.technic.screen.BattlefieldScreen; import com.ghost.technic.server.Player; import com.ghost.technic.server.game.GameActionService; import com.ghost.technic.server.game.GameState; diff --git a/core/src/main/java/com/ghost/technic/BattlefieldScreen.java b/core/src/main/java/com/ghost/technic/screen/BattlefieldScreen.java similarity index 94% rename from core/src/main/java/com/ghost/technic/BattlefieldScreen.java rename to core/src/main/java/com/ghost/technic/screen/BattlefieldScreen.java index 2e5a1f1..62e9e2a 100644 --- a/core/src/main/java/com/ghost/technic/BattlefieldScreen.java +++ b/core/src/main/java/com/ghost/technic/screen/BattlefieldScreen.java @@ -1,4 +1,4 @@ -package com.ghost.technic; +package com.ghost.technic.screen; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Screen; @@ -6,6 +6,7 @@ import com.badlogic.gdx.scenes.scene2d.Stage; import com.badlogic.gdx.scenes.scene2d.ui.Skin; import com.badlogic.gdx.utils.ScreenUtils; import com.badlogic.gdx.utils.viewport.FitViewport; +import com.ghost.technic.BattlefieldView; public class BattlefieldScreen implements Screen {