java.lang.Object
com.example.project.models.tiles.Tile
com.example.project.models.tiles.EmptyTileSlot
An empty tile slot model. Empty tile slots store a letter tile.
-
Field Summary
Fields inherited from class com.example.project.models.tiles.Tile
ClackSoundPlayer, CORNER_RADIUS, hoverSoundPlayer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongets the fxml path.void
setTile
(LetterTile tile) Set a new tile.Methods inherited from class com.example.project.models.tiles.Tile
getClackSoundPlayer, getHoverSoundPlayer
-
Constructor Details
-
EmptyTileSlot
public EmptyTileSlot()
-
-
Method Details
-
setTile
Set a new tile.- Parameters:
tile
- letter tile.
-
getFXMLPath
Description copied from class:Tile
gets the fxml path.- Specified by:
getFXMLPath
in classTile
- Returns:
- string path.
-