diff --git a/src/main/java/com/ntlab/irisserver/entities/Room.java b/src/main/java/com/ntlab/irisserver/entities/Room.java index cf6a1f5..8ff70e3 100644 --- a/src/main/java/com/ntlab/irisserver/entities/Room.java +++ b/src/main/java/com/ntlab/irisserver/entities/Room.java @@ -48,7 +48,10 @@ Map drawings = new HashMap<>(); - public Room() { + + public Room(String rid, String owner) { + this.rid=rid; + ownerName=owner; drawingTimer = false; drawingTimerTimes = 0; gameTimer = true; @@ -56,11 +59,6 @@ gameTimerFirstThinkingTimes = 10; } - public Room(String rid, String owner) { - this.rid=rid; - ownerName=owner; - } - public List getMembers() { List memberslist = new ArrayList(members.values()) ;