Package sac.control
Class PreviewController
java.lang.Object
sac.control.PreviewController
- All Implemented Interfaces:
UpdatableController
This class controls the piece preview canvas.
The size of the canvas is adjusted according to the number of the piece previewed.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
update()
Redraw the preview pieces as model ticks.
-
Constructor Details
-
PreviewController
public PreviewController(javafx.scene.layout.VBox container)
-
-
Method Details
-
initialize
protected void initialize() -
update
public void update()Redraw the preview pieces as model ticks.- Specified by:
update
in interfaceUpdatableController
-