public class PositionHistoryLayer extends StandardEntityViewLayer<Human>
entitiesVISIBILITY_SUFFIX, worldcomponent| 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, viewObjectgetPopupMenuItems, isVisible, processView, setLayerViewComponent, setVisiblepublic PositionHistoryLayer()
public void initialise(Config config)
ViewLayerinitialise in interface ViewLayerinitialise in class StandardViewLayerconfig - The system configuration.public java.lang.String getName()
ViewLayerpublic java.awt.Shape render(Human h, java.awt.Graphics2D g, ScreenTransform t)
StandardEntityViewLayerrender in class StandardEntityViewLayer<Human>h - The entity to render.g - The graphics to render on.t - A helpful coordinate transformer.