Uses of Enum Class
edu.ntnu.idi.idatt.model.token.LudoToken.TokenStatus
Packages that use LudoToken.TokenStatus
Package
Description
-
Uses of LudoToken.TokenStatus in edu.ntnu.idi.idatt.model.player
Methods in edu.ntnu.idi.idatt.model.player with parameters of type LudoToken.TokenStatusModifier and TypeMethodDescriptionvoid
LudoPlayer.moveToken
(int pieceId, Tile tile, LudoToken.TokenStatus status) Moves the token with the given id to a new tile and updates its status. -
Uses of LudoToken.TokenStatus in edu.ntnu.idi.idatt.model.token
Methods in edu.ntnu.idi.idatt.model.token that return LudoToken.TokenStatusModifier and TypeMethodDescriptionLudoToken.getStatus()
Gets the current status of this token.static LudoToken.TokenStatus
Returns the enum constant of this class with the specified name.static LudoToken.TokenStatus[]
LudoToken.TokenStatus.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in edu.ntnu.idi.idatt.model.token with parameters of type LudoToken.TokenStatusModifier and TypeMethodDescriptionvoid
LudoToken.setStatus
(LudoToken.TokenStatus status) Sets the status of this token. -
Uses of LudoToken.TokenStatus in edu.ntnu.idi.idatt.model.validator
Methods in edu.ntnu.idi.idatt.model.validator with parameters of type LudoToken.TokenStatusModifier and TypeMethodDescriptionstatic void
ArgumentValidator.ludoPlayerMoveTokenValidator
(int pieceId, Tile tile, LudoToken.TokenStatus status) Validates arguments for the moveToken method in LudoPlayer class.