Formatted according to google-style and added a ServerLobby class meant to represent the context of the game when not in a lobby or in a running game.

This commit is contained in:
sebaschi 2022-04-04 13:46:02 +02:00
parent 191251b0a8
commit 35f6bd48ab
3 changed files with 13 additions and 4 deletions

View File

@ -25,5 +25,5 @@ public class CentralServerData {
private Map<Client, Socket> clientSocketMap; private Map<Client, Socket> clientSocketMap;
private Map<Socket, Client> socketClientMap; private Map<Socket, Client> socketClientMap;
private Map<Game,Client> gameClientMap; private Map<Game, Client> gameClientMap;
} }

View File

@ -9,9 +9,8 @@ import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.Logger;
/** /**
* Class that shall contain all non-game logik information * Class that shall contain all non-game logik information relevant to a game session needed for
* relevant to a game session needed for client-server and client-client * client-server and client-client communication.
* communication.
*/ */
public class GameSessionData { public class GameSessionData {

View File

@ -0,0 +1,10 @@
package ch.unibas.dmi.dbis.cs108.sebaschi;
/**
* This class is just everyone on the server, which games are open to join, who is in session. I.E.
* the context of the game just after joining the server, before starting a game and entering into a
* lobby.
*/
public class ServerLobby {
}