set ip and port

This commit is contained in:
Tim Tersch
2022-02-14 09:23:31 +01:00
parent 031f73abfa
commit e3e899908f
2 changed files with 4 additions and 3 deletions

View File

@@ -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();
}