java.lang.Object
com.example.project.models.tiles.Tile
Direct Known Subclasses:
EmptyTileSlot, LetterTile, UpgradeTile

public abstract class Tile extends Object
Parent tile class for objects in the scene that are tiles. Upgrades and tiles.
  • Field Details

  • Constructor Details

    • Tile

      public Tile()
  • Method Details

    • getFXMLPath

      public abstract String getFXMLPath()
      gets the fxml path.
      Returns:
      string path.
    • getHoverSoundPlayer

      public GameSoundPlayer getHoverSoundPlayer()
      gets the hover sound player
      Returns:
      sound player
    • getClackSoundPlayer

      public GameSoundPlayer getClackSoundPlayer()
      gets the sound player that plays the click sound.
      Returns:
      sound player.