public class AreaNeighboursLayer extends StandardEntityViewLayer<Area>
entities
VISIBILITY_SUFFIX, world
component
Constructor and Description |
---|
AreaNeighboursLayer()
Construct an area neighbours view layer.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name of this layer.
|
java.awt.Shape |
render(Area area,
java.awt.Graphics2D g,
ScreenTransform t)
Render an entity and return the shape.
|
postView, preView, render, view, viewObject
initialise
getPopupMenuItems, isVisible, processView, setLayerViewComponent, setVisible
public AreaNeighboursLayer()
public java.lang.String getName()
ViewLayer
public java.awt.Shape render(Area area, java.awt.Graphics2D g, ScreenTransform t)
StandardEntityViewLayer
render
in class StandardEntityViewLayer<Area>
area
- The entity to render.g
- The graphics to render on.t
- A helpful coordinate transformer.