public class MatrixVisualizerPane extends Object
Constructor and Description |
---|
MatrixVisualizerPane(GUIController context,
MowerController mowerController,
MapArea map)
The basic constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
drawMap()
This method will reset the pane and draw the current state of the mowers and the map.
|
javafx.scene.canvas.Canvas |
getCanvas() |
javafx.scene.layout.Pane |
getOverlay() |
@Inject public MatrixVisualizerPane(GUIController context, MowerController mowerController, MapArea map)
context
- the controller which orchestrate the GUImowerController
- the controller which controls the mowersmap
- the map that the pane should represents.Copyright © 2016. All Rights Reserved.