Class SimpleRoom
java.lang.Object
VASSAL.chat.SimpleRoom
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleRoom(String name) SimpleRoom(String name, Player[] players) SimpleRoom(Room copy) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a player to this roombooleanbooleangetName()The display name of this roomReturn an (unmodifiable) list of playersinthashCode()intvoidRemove a player from this roomvoidvoidsetPlayers(Player[] players) toString()
-
Constructor Details
-
SimpleRoom
public SimpleRoom() -
SimpleRoom
-
SimpleRoom
-
SimpleRoom
-
-
Method Details
-
getName
-
setName
-
setPlayers
-
addPlayer
-
getPlayer
-
removePlayer
Description copied from interface:RoomRemove a player from this room- Specified by:
removePlayerin interfaceRoom
-
contains
-
toString
-
numPlayers
public int numPlayers() -
hashCode
-
equals
-
getPlayerList
Description copied from interface:RoomReturn an (unmodifiable) list of players- Specified by:
getPlayerListin interfaceRoom
-