Uses of Enum Class
net.royalur.model.AbandonReason
Packages that use AbandonReason
Package
Description
-
Uses of AbandonReason in net.royalur
Methods in net.royalur that return AbandonReasonModifier and TypeMethodDescriptionGame.getAbandonReason()
Gets the reason this game was abandoned.Methods in net.royalur with parameters of type AbandonReasonModifier and TypeMethodDescriptionvoid
Game.abandon
(AbandonReason reason, PlayerType player) Marks that the game was abandoned due toreason
. -
Uses of AbandonReason in net.royalur.model
Methods in net.royalur.model that return AbandonReasonModifier and TypeMethodDescriptionstatic AbandonReason
Retrieves the abandon reason with .static AbandonReason
Returns the enum constant of this class with the specified name.static AbandonReason[]
AbandonReason.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of AbandonReason in net.royalur.notation
Methods in net.royalur.notation with parameters of type AbandonReasonModifier and TypeMethodDescriptionDerivedStateSource.createAbandonedState
(RuleSet rules, long timeSinceGameStartMs, AbandonReason reason, PlayerType player) FullStateSource.createAbandonedState
(RuleSet rules, long timeSinceGameStartMs, AbandonReason abandonReason, PlayerType player) abstract AbandonedGameState
StateSource.createAbandonedState
(RuleSet rules, long timeSinceGameStartMs, AbandonReason abandonReason, PlayerType player) -
Uses of AbandonReason in net.royalur.rules
Methods in net.royalur.rules with parameters of type AbandonReasonModifier and TypeMethodDescriptionRuleSet.applyAbandon
(GameState state, long timeSinceGameStartMs, AbandonReason reason, PlayerType player) Applies an abandonment of the game due toreason
. -
Uses of AbandonReason in net.royalur.rules.state
Methods in net.royalur.rules.state that return AbandonReasonModifier and TypeMethodDescriptionAbandonedGameState.getReason()
Gets the reason that the game was abandoned.Constructors in net.royalur.rules.state with parameters of type AbandonReasonModifierConstructorDescriptionAbandonedGameState
(Board board, PlayerState lightPlayer, PlayerState darkPlayer, long timeSinceGameStartMs, AbandonReason reason, PlayerType player) Instantiates a game state representing a game being abandoned.