diff --git a/User.java b/User.java index 7afeef4..fcd21fe 100644 --- a/User.java +++ b/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; }