java.lang.Object
com.example.project.controllers.tileViewControllers.TileController<EmptyTileSlot>
com.example.project.controllers.tileViewControllers.EmptyTileController

public class EmptyTileController extends TileController<EmptyTileSlot>
Empty Tile controller for EmptyTile view.
  • Constructor Details

    • EmptyTileController

      public EmptyTileController()
  • Method Details

    • bind

      public void bind(EmptyTileSlot modelToUse)
      Description copied from class: TileController
      Binds tile to the controller as its model.
      Specified by:
      bind in class TileController<EmptyTileSlot>
      Parameters:
      modelToUse - tile to bind.
    • getRoot

      public javafx.scene.Node getRoot()
      Description copied from class: TileController
      root ui node.
      Specified by:
      getRoot in class TileController<EmptyTileSlot>
      Returns:
      root ui Node
    • clearLetterTile

      public void clearLetterTile()
      clears the letter tile on this empty slot.
    • setLetter

      public void setLetter(LetterTileController letterController)
      updates empty slot to have a letter tile in it.
      Parameters:
      letterController - the letter tiles controller.