Package VASSAL.chat.node
Class NodeRoom
java.lang.Object
VASSAL.chat.SimpleRoom
VASSAL.chat.node.NodeRoom
- All Implemented Interfaces:
LockableRoom
,Room
Subclass of
SimpleRoom
for use on the client side of a hierarchical server-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class VASSAL.chat.SimpleRoom
addPlayer, contains, equals, getName, getPlayer, getPlayerList, hashCode, numPlayers, removePlayer, setName, setPlayers, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface VASSAL.chat.LockableRoom
getName
-
Field Details
-
OWNER
- See Also:
-
MEMBERS
- See Also:
-
STATUS
- See Also:
-
LOCKED
- See Also:
-
-
Constructor Details
-
NodeRoom
public NodeRoom() -
NodeRoom
-
NodeRoom
-
-
Method Details
-
setOwner
-
setInfo
-
getInfo
-
setMembersToCurrentPlayers
public void setMembersToCurrentPlayers()Set the members to be the list of players currently in the room -
getMembers
-
isMember
-
isOwner
-
isOwner
- Specified by:
isOwner
in interfaceLockableRoom
-
getOwner
-
getOwningPlayer
- Specified by:
getOwningPlayer
in interfaceLockableRoom
-
lock
public void lock() -
toggleLock
public void toggleLock() -
isLocked
public boolean isLocked()- Specified by:
isLocked
in interfaceLockableRoom
-