public class BuildingIconLayer extends StandardEntityViewLayer<Building>
entities
VISIBILITY_SUFFIX, world
component
Constructor and Description |
---|
BuildingIconLayer()
Construct a building icon view layer.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name of this layer.
|
java.awt.Shape |
render(Building b,
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 BuildingIconLayer()
public java.lang.String getName()
ViewLayer
public java.awt.Shape render(Building b, java.awt.Graphics2D g, ScreenTransform t)
StandardEntityViewLayer
render
in class StandardEntityViewLayer<Building>
b
- The entity to render.g
- The graphics to render on.t
- A helpful coordinate transformer.