Class LetterTile

java.lang.Object
com.example.project.models.tiles.Tile
com.example.project.models.tiles.LetterTile

public class LetterTile extends Tile
Represents the letter tiles the player plays holds, redraws.
  • Constructor Details

    • LetterTile

      public LetterTile(Character newLetter)
      Parameters:
      newLetter - letter
  • Method Details

    • getLetter

      public Character getLetter()
      Returns:
      returns the tiles character.
    • getValue

      public Integer getValue()
      Returns:
      base value of scrabble letter score.
    • getFXMLPath

      public String getFXMLPath()
      Description copied from class: Tile
      gets the fxml path.
      Specified by:
      getFXMLPath in class Tile
      Returns:
      string path.