Package VASSAL.chat
Class SimplePlayer
java.lang.Object
VASSAL.chat.SimplePlayer
- All Implemented Interfaces:
Player
- Direct Known Subclasses:
NodePlayer
,P2PPlayer
Simple Player bean
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSimplePlayer(String name)
SimplePlayer(String id, String name, PlayerStatus status)
-
Method Summary
-
Field Details
-
id
-
name
-
status
-
-
Constructor Details
-
SimplePlayer
-
SimplePlayer
-
SimplePlayer
public SimplePlayer()
-
-
Method Details
-
toString
-
getName
Description copied from interface:Player
Display name (nickname) for the player -
setName
-
hashCode
public int hashCode() -
equals
-
getId
Description copied from interface:Player
Unique identifier for this player -
getStatus
Description copied from interface:Player
Return the current status of the player -
setId
-
setStatus
-
updateStatus
public void updateStatus()
-