From 302fc5246dfadd2b67a463d0714ee13ea3d00b90 Mon Sep 17 00:00:00 2001 From: Yannik Bretschneider Date: Wed, 2 Jun 2021 17:52:20 +0200 Subject: [PATCH] refactor: deleted now useless class PauseHandler --- .../marvelous/server/lobby/PauseHandler.java | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 Server/src/main/java/uulm/teamname/marvelous/server/lobby/PauseHandler.java diff --git a/Server/src/main/java/uulm/teamname/marvelous/server/lobby/PauseHandler.java b/Server/src/main/java/uulm/teamname/marvelous/server/lobby/PauseHandler.java deleted file mode 100644 index 091b063..0000000 --- a/Server/src/main/java/uulm/teamname/marvelous/server/lobby/PauseHandler.java +++ /dev/null @@ -1,23 +0,0 @@ -package uulm.teamname.marvelous.server.lobby; - -public class PauseHandler { - private boolean paused; - - public PauseHandler(){ - paused = false; - } - - public void start() { - if(!paused) - paused = true; - } - - public void stop() { - if(paused) - paused = false; - } - - public boolean isPaused() { - return paused; - } -}