public class PlayerType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static PlayerType |
Closed |
static PlayerType |
Computer |
static PlayerType |
ComputerLeft |
static PlayerType |
EitherPreferComputer |
static PlayerType |
EitherPreferHuman |
static PlayerType |
Neutral |
static PlayerType |
None |
static PlayerType |
Player |
static PlayerType |
PlayerLeft |
static PlayerType |
RescuePassive |
static PlayerType |
Unknown |
Modifier and Type | Method and Description |
---|---|
boolean |
isGameType()
Identifies whether or not this type is used in-game.
|
boolean |
isLobbyType()
Identifies whether or not this type is used for the pre-game lobby.
|
java.lang.String |
toString() |
public static final PlayerType None
public static final PlayerType Computer
public static final PlayerType Player
public static final PlayerType RescuePassive
public static final PlayerType EitherPreferComputer
public static final PlayerType EitherPreferHuman
public static final PlayerType Neutral
public static final PlayerType Closed
public static final PlayerType PlayerLeft
public static final PlayerType ComputerLeft
public static final PlayerType Unknown
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isLobbyType()
public boolean isGameType()