diff --git a/src/main/java/com/ntlab/irisserver/entities/Room.java b/src/main/java/com/ntlab/irisserver/entities/Room.java index 501cc46..b1e0896 100644 --- a/src/main/java/com/ntlab/irisserver/entities/Room.java +++ b/src/main/java/com/ntlab/irisserver/entities/Room.java @@ -26,6 +26,9 @@ @JsonProperty("settings") Settings settings = new Settings(); + @JsonProperty("game") + Game game =null; + private Member redMaster; private Member blueMaster; @@ -108,12 +111,12 @@ } public Game createGame(String owner) { - - return null; + game=new Game(); + return game; } public Game getGame() { - return null; + return game; } public Member getMember(String nick) {