public class PositionHistoryLayer extends StandardEntityViewLayer<Human>
entities
VISIBILITY_SUFFIX, world
component
Constructor and Description |
---|
PositionHistoryLayer()
Construct a position history layer.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name of this layer.
|
void |
initialise(Config config)
Initialise this view layer.
|
java.awt.Shape |
render(Human h,
java.awt.Graphics2D g,
ScreenTransform t)
Render an entity and return the shape.
|
postView, preView, render, view, viewObject
getPopupMenuItems, isVisible, processView, setLayerViewComponent, setVisible
public PositionHistoryLayer()
public void initialise(Config config)
ViewLayer
initialise
in interface ViewLayer
initialise
in class StandardViewLayer
config
- The system configuration.public java.lang.String getName()
ViewLayer
public java.awt.Shape render(Human h, java.awt.Graphics2D g, ScreenTransform t)
StandardEntityViewLayer
render
in class StandardEntityViewLayer<Human>
h
- The entity to render.g
- The graphics to render on.t
- A helpful coordinate transformer.