Uses of Enum Class
game.State.Player
Packages that use State.Player
-
Uses of State.Player in game
Subclasses with type arguments of type State.Player in gameMethods in game that return State.PlayerModifier and TypeMethodDescriptionState.getNextPlayer()
Returns the player who moves next.State.Player.opponent()
Returns the opponent of the player.static State.Player
Returns the enum constant of this class with the specified name.static State.Player[]
State.Player.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in game with parameters of type State.PlayerModifier and TypeMethodDescriptiondefault boolean
State.isWinner
(State.Player player) Returns whether the player specified has won the game.