Merge remote-tracking branch 'origin/development' into development

This commit is contained in:
Fleischer Hanno
2024-12-01 18:22:29 +01:00

View File

@@ -21,4 +21,11 @@ public interface ServerSender {
* @param message as the message which will be sent to all players as a ServerMessage.
*/
void broadcast(ServerMessage message);
/**
* This method will be used to disconnect the client depending on the given id parameter.
*
* @param id as the connection id of the client as an Integer.
*/
void disconnectClient(int id);
}