forked from IF-LK-2020/wordle
Merge branch 'main' of https://git.ngb.schule/maxim.derksen/wordle
This commit is contained in:
commit
f35aec08b5
10
User.java
10
User.java
|
@ -9,11 +9,17 @@ public class User {
|
|||
int lastDayWOTDFinished;
|
||||
int state;
|
||||
int [] wonInTurn;
|
||||
Game game;
|
||||
|
||||
public User (int pConnectionID, Query pQuery){
|
||||
public User (int pConnectionID){
|
||||
connectionID =pConnectionID;
|
||||
game = new Game();
|
||||
}
|
||||
|
||||
|
||||
public Game getGame(){
|
||||
return game;
|
||||
}
|
||||
|
||||
public int getConnectionID() {
|
||||
return connectionID;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue