project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/PlayerInRoom.java
equal
deleted
inserted
replaced
19 |
19 |
20 package org.hedgewars.hedgeroid.Datastructures; |
20 package org.hedgewars.hedgeroid.Datastructures; |
21 |
21 |
22 public final class PlayerInRoom { |
22 public final class PlayerInRoom { |
23 public final Player player; |
23 public final Player player; |
24 public final boolean ready; |
24 public final boolean ready, roomChief; |
25 |
25 |
26 public PlayerInRoom(Player player, boolean ready) { |
26 public PlayerInRoom(Player player, boolean ready, boolean roomChief) { |
27 this.player = player; |
27 this.player = player; |
28 this.ready = ready; |
28 this.ready = ready; |
|
29 this.roomChief = roomChief; |
29 } |
30 } |
30 |
31 |
31 @Override |
32 @Override |
32 public String toString() { |
33 public String toString() { |
33 return "PlayerInRoom [player=" + player + ", ready=" + ready + "]"; |
34 return "PlayerInRoom [player=" + player + ", ready=" + ready |
|
35 + ", roomChief=" + roomChief + "]"; |
34 } |
36 } |
35 } |
37 } |