Coverage Summary for Class: ClientConnectEvent (it.polimi.ingsw.Server.Messages.Events.Internal)
Class |
Class, %
|
Method, %
|
Line, %
|
ClientConnectEvent |
0%
(0/1)
|
0%
(0/1)
|
0%
(0/1)
|
1 package it.polimi.ingsw.Server.Messages.Events.Internal;
2
3 import java.util.List;
4
5 /**
6 * This Event is generated when a lobby's client connects and is sent to the lobby's clients.
7 * When handled by the {@link it.polimi.ingsw.Server.LobbyServer}, becomes {@link it.polimi.ingsw.Server.Messages.ServerResponses.ClientConnected}
8 */
9 public class ClientConnectEvent extends ConnectEvent {
10
11 /**
12 * Create the event
13 *
14 * @param lastConnectedNickname the nickname of the player that just connected
15 * @param players the list of all connected players
16 */
17 public ClientConnectEvent(String lastConnectedNickname, List<String> players) {
18 super(lastConnectedNickname, players);
19 }
20
21 }