From 7a2ad1d31a326c0a71d6e3531f3216a3fa2ed5cb Mon Sep 17 00:00:00 2001 From: Johannes Schmelz Date: Thu, 14 Nov 2024 23:50:18 +0100 Subject: [PATCH] corrected server states --- .../java/pp/monopoly/game/server/ServerState.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Projekte/monopoly/model/src/main/java/pp/monopoly/game/server/ServerState.java b/Projekte/monopoly/model/src/main/java/pp/monopoly/game/server/ServerState.java index d6185d9..2ce67c8 100644 --- a/Projekte/monopoly/model/src/main/java/pp/monopoly/game/server/ServerState.java +++ b/Projekte/monopoly/model/src/main/java/pp/monopoly/game/server/ServerState.java @@ -14,20 +14,20 @@ enum ServerState { /** * The server is waiting for clients to connect. */ - WAIT, + CREATEGAME, /** - * The server is waiting for clients to set up their maps. + * The server is waiting for clients to set up their status to ready */ - SET_UP, + LOBBY, /** * The battle of the game where players take turns */ - BATTLE, + INGAME, /** - * The game has ended because all the players went bankrott + * The game has ended because all the players went bankrupt */ - GAME_OVER + GAMEOVER }