Package sac.control
Class HoldController
java.lang.Object
sac.control.FloatController
sac.control.HoldController
- All Implemented Interfaces:
UpdatableController
This class controls the hold canvas.
The size of the canvas is adjusted according to the blockWidth defined by ControllerFactory.
-
Field Summary
Fields inherited from class sac.control.FloatController
root
-
Constructor Summary
-
Method Summary
Methods inherited from class sac.control.FloatController
initialize
-
Constructor Details
-
HoldController
public HoldController(javafx.scene.layout.VBox container)
-
-
Method Details
-
init
protected void init()Description copied from class:FloatController
Init current controller.- Specified by:
init
in classFloatController
-
update
public void update()Redraw the hold canvas as model ticks.- Specified by:
update
in interfaceUpdatableController
-