diff --git a/src/main/java/com/ntlab/irisserver/entities/Room.java b/src/main/java/com/ntlab/irisserver/entities/Room.java index ebdbd2b..11528f9 100644 --- a/src/main/java/com/ntlab/irisserver/entities/Room.java +++ b/src/main/java/com/ntlab/irisserver/entities/Room.java @@ -40,8 +40,10 @@ public int gameTimerFirstThinkingTimes; //int gameTimerFirstThinkingTimes; - - + @JsonProperty("RedMaster") + private Member RedMaster; + @JsonProperty("BlueMaster") + private Member BlueMaster; Map members= new HashMap<>(); Map drawings = new HashMap<>(); @@ -60,13 +62,8 @@ } + //プレイヤーの情報を変更する public void changeTeamAndMaster(String nick, String belongs, boolean isMaster) { - //上に追加するもの - Member RedMaster = null; - Member BlueMaster = null; - - //この関数のコメント - //プレイヤーの情報を変更する //変更対象の情報を取得 Member m = members.get(nick);