Added Enter & Leave Messages for ChatRooms as well as info stats for the

room
This commit is contained in:
Waverunner
2014-04-17 16:01:12 -04:00
parent 8379c2f87b
commit 9252ebaaea
9 changed files with 245 additions and 23 deletions
@@ -879,6 +879,11 @@ public class PlayerObject extends IntangibleObject {
}
public boolean isMemberOfChannel(int roomId) {
return chatChannels.contains(roomId);
if (chatChannels.contains(roomId)) {
System.out.println("Member of the channel!");
return true;
}
System.out.println("Not a Member of the channel!");
return false;
}
}