public class ObstaclePainter extends Object implements BackgroundPainter
Constructor and Description |
---|
ObstaclePainter()
Build the ObstaclePainter
|
Modifier and Type | Method and Description |
---|---|
void |
paintBackground(UIComponent uiComponent,
Topology topology)
The methods is automatically call by the JViewer and draw all the nodes and all the obstacles
|
public void paintBackground(UIComponent uiComponent, Topology topology)
paintBackground
in interface BackgroundPainter
uiComponent
- the graphical object to be drawn on.topology
- the Topology
to pick information from.