Uses of Class
edu.ntnu.idi.idatt.model.token.LudoToken
Packages that use LudoToken
Package
Description
-
Uses of LudoToken in edu.ntnu.idi.idatt.controller.ludo
Methods in edu.ntnu.idi.idatt.controller.ludo with parameters of type LudoTokenModifier and TypeMethodDescriptionvoid
LudoGameController.onTokenCaptured
(Player player, LudoToken token, int oldTileId) Handles thetokenCaptured
event from theLudoBoardGame
model.void
LudoGameController.onTokenFinished
(Player player, LudoToken token) Handles thetokenFinished
event from theLudoBoardGame
model.void
LudoGameController.onTokenMoved
(Player player, LudoToken token, int diceRoll, int oldTileId, int newTileId) Handles thetokenMoved
event from theLudoBoardGame
model. -
Uses of LudoToken in edu.ntnu.idi.idatt.model.player
Methods in edu.ntnu.idi.idatt.model.player that return LudoTokenModifier and TypeMethodDescriptionLudoPlayer.getToken
(int tokenId) Retrieves a specificLudoToken
by its ID.Methods in edu.ntnu.idi.idatt.model.player that return types with arguments of type LudoToken -
Uses of LudoToken in edu.ntnu.idi.idatt.view.ludo
Fields in edu.ntnu.idi.idatt.view.ludo with type parameters of type LudoTokenMethods in edu.ntnu.idi.idatt.view.ludo with parameters of type LudoTokenModifier and TypeMethodDescriptionvoid
LudoGameStackPane.moveToken
(LudoToken token, Tile oldTile, Tile newTile, boolean straightLine, Runnable onFinished) Animates the movement of a Ludo token from an old tile to a new tile on the game board.void
LudoGameStackPane.moveTokenToStartArea
(Player player, LudoToken token) Animates the movement of a captured Ludo token back to its start area.