forked from IF-LK-2020/wordle
set ip and port
This commit is contained in:
@@ -11,10 +11,11 @@ public class Game {
|
||||
private String[] words;
|
||||
private int count;
|
||||
|
||||
public Game(WordleServer wordleServer) {
|
||||
public Game(WordleServer wordleServer, String pClientIP, int pClientPort) {
|
||||
|
||||
this.wordleServer = wordleServer;
|
||||
|
||||
this.ip = pClientIP;
|
||||
this.port = pClientPort;
|
||||
|
||||
user = new User();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user