ServerLobby now has a list of open lobbies and a list of all clients on the server.
This commit is contained in:
parent
33d8f779a2
commit
9cc7a37eb9
@ -1,5 +1,8 @@
|
|||||||
package ch.unibas.dmi.dbis.cs108.sebaschi;
|
package ch.unibas.dmi.dbis.cs108.sebaschi;
|
||||||
|
|
||||||
|
import ch.unibas.dmi.dbis.cs108.multiplayer.server.ClientHandler;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is just everyone on the server, which games are open to join, who is in session. I.E.
|
* 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
|
* the context of the game just after joining the server, before starting a game and entering into a
|
||||||
@ -7,4 +10,7 @@ package ch.unibas.dmi.dbis.cs108.sebaschi;
|
|||||||
*/
|
*/
|
||||||
public class ServerLobby {
|
public class ServerLobby {
|
||||||
|
|
||||||
|
List<Lobby> openLobbies;
|
||||||
|
List<ClientHandler> allClients;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user