Uses of Interface
edu.ntnu.idi.idatt.model.tile.TileAction
Packages that use TileAction
Package
Description
-
Uses of TileAction in edu.ntnu.idi.idatt.controller.laddergame
Methods in edu.ntnu.idi.idatt.controller.laddergame with parameters of type TileActionModifier and TypeMethodDescriptionvoid
LadderGameController.onTileActionPerformed
(Player player, TileAction tileAction) Handles thetileActionPerformed
event from theLadderBoardGame
model. -
Uses of TileAction in edu.ntnu.idi.idatt.model.game
Methods in edu.ntnu.idi.idatt.model.game with parameters of type TileActionModifier and TypeMethodDescriptionvoid
LadderBoardGame.notifyTileActionPerformed
(Player player, TileAction tileAction) Notifies registered observers (specificallyLadderGameController
instances) that a tile action has been performed. -
Uses of TileAction in edu.ntnu.idi.idatt.model.tile
Classes in edu.ntnu.idi.idatt.model.tile that implement TileActionModifier and TypeClassDescriptionclass
LadderAction classclass
PortalAction classclass
SlideAction classclass
WormholeAction classMethods in edu.ntnu.idi.idatt.model.tile that return TileActionModifier and TypeMethodDescriptionLadderGameTile.getLandAction()
Returns theTileAction
that occurs when a player lands on this tile.Methods in edu.ntnu.idi.idatt.model.tile with parameters of type TileActionModifier and TypeMethodDescriptionvoid
LadderGameTile.setLandAction
(TileAction landAction) Sets theTileAction
to be performed when a player lands on this tile.Constructors in edu.ntnu.idi.idatt.model.tile with parameters of type TileActionModifierConstructorDescriptionLadderGameTile
(int tileId, int[] coordinates, int nextTileId, TileAction tileAction) Constructs aLadderGameTile
with a tile ID, coordinates, the ID of the next tile, and a specificTileAction
to be performed when a player lands on this tile.Tile
(int tileId, int[] coordinates, int nextTileId, TileAction tileAction) Constructor for Tile class. -
Uses of TileAction in edu.ntnu.idi.idatt.model.validator
Methods in edu.ntnu.idi.idatt.model.validator with parameters of type TileActionModifier and TypeMethodDescriptionstatic void
ArgumentValidator.tileSetLandActionValidator
(TileAction landAction) Validates the arguments for the setLandAction method in Tile class.