diff --git a/src/main/java/com/ntlab/irisserver/entities/Game.java b/src/main/java/com/ntlab/irisserver/entities/Game.java index f142037..06c27c5 100644 --- a/src/main/java/com/ntlab/irisserver/entities/Game.java +++ b/src/main/java/com/ntlab/irisserver/entities/Game.java @@ -13,9 +13,10 @@ private List opens = new ArrayList<>(); private DrawingController drawingController = null; private Settings settings = null; - private List turnList = new ArrayList<>(); + private static List turnList = new ArrayList<>(); private Turn nowTurn = null; + public Game(Room room) { this.settings = room.getSettings(); @@ -31,6 +32,8 @@ Collections.shuffle(color);//r,b,g,dをランダムにマップに割り振る List memberList = room.getMembers(); + + //デバッグ用に値を追加 int cnt = 0; for (int i=0; i