Module com.example.project
Class TileController<T extends Tile>
java.lang.Object
com.example.project.controllers.tileViewControllers.TileController<T>
- Type Parameters:
T- tile model type.
- Direct Known Subclasses:
EmptyTileController,LetterTileController,UpgradeTileViewController
Parent class of TileControllers.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
model
-
-
Constructor Details
-
TileController
public TileController()
-
-
Method Details
-
getRoot
public abstract javafx.scene.Node getRoot()root ui node.- Returns:
- root ui Node
-
bind
Binds tile to the controller as its model.- Parameters:
tile- tile to bind.
-
getModel
gets the tile model.- Returns:
- model.
-