From 3d4071e267cf979ad44fba70db48338b8f0a04a6 Mon Sep 17 00:00:00 2001 From: noisymouse27f Date: Wed, 10 Sep 2025 16:42:25 +0100 Subject: [PATCH] Update TechnicClient.java to extand from Game and remove unused import --- .../main/java/com/ghost/technic/TechnicClient.java | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/core/src/main/java/com/ghost/technic/TechnicClient.java b/core/src/main/java/com/ghost/technic/TechnicClient.java index be353c6..b8a8740 100644 --- a/core/src/main/java/com/ghost/technic/TechnicClient.java +++ b/core/src/main/java/com/ghost/technic/TechnicClient.java @@ -1,27 +1,18 @@ package com.ghost.technic; -import com.badlogic.gdx.ApplicationAdapter; +import com.badlogic.gdx.Game; 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.server.Player; import com.ghost.technic.server.game.GameActionService; import com.ghost.technic.server.game.GameState; import com.ghost.technic.server.game.event.EventBus; /** {@link com.badlogic.gdx.ApplicationListener} implementation shared by all platforms. */ -public class TechnicClient extends ApplicationAdapter { +public class TechnicClient extends Game { private Skin skin; private Screen currentScreen;