diff --git a/Server/src/main/java/uulm/teamname/marvelous/server/Lobby/Lobby.java b/Server/src/main/java/uulm/teamname/marvelous/server/Lobby/Lobby.java index f6d3c69..94a3304 100644 --- a/Server/src/main/java/uulm/teamname/marvelous/server/Lobby/Lobby.java +++ b/Server/src/main/java/uulm/teamname/marvelous/server/Lobby/Lobby.java @@ -1,4 +1,69 @@ package uulm.teamname.marvelous.server.Lobby; public class Lobby { + + String gameID; + GameState state; + + public void recieveEvents(Request[] requests){ + //Get Messages from the LobbyManager + } + + public void sendEvents(Event[] events){ + //Send Messages to the LobbyManager + } + + public void processEvents(){ + //The largest Block to handle all possible Events + //To defuse this Method you could use the smaller Methods below. + } + + public void pause(){ + + } + public void unpause(){ + + } + public void handleDisconnects(){ + + } + public void validateRequest(){ + + } + public void applyRequestToGamestate(){ + + } + public void generateEvents(){ + + } + public void saidEvents(){ + + } + public void DisconnectClient(){ + + } + public void checkCheating(){ + + } + public void SendGamestate(){ + + } + public void handleConnects(){ + + } + public void handleSpectators(){ + + } + public void handlePlayers(){ + + } + public void handleLogon(){ + + } + public void handleLogoff(){ + + } + public void closeLobby(){ + + } }