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:
parent
191251b0a8
commit
35f6bd48ab
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user