refactor: changed spectators to final in LobbyConnection
This commit is contained in:
parent
d4460e6c0f
commit
598d3a8df3
@ -13,7 +13,7 @@ import java.util.HashSet;
|
|||||||
public class LobbyConnection {
|
public class LobbyConnection {
|
||||||
private Lobby lobby;
|
private Lobby lobby;
|
||||||
private Participant player1, player2;
|
private Participant player1, player2;
|
||||||
private HashSet<Participant> spectators;
|
private final HashSet<Participant> spectators;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new LobbyConnection from a given lobby
|
* Creates a new LobbyConnection from a given lobby
|
||||||
|
Loading…
Reference in New Issue
Block a user