public class AnimatedHumanLayer extends HumanLayer
entitiesVISIBILITY_SUFFIX, worldcomponent| Constructor and Description |
|---|
AnimatedHumanLayer()
Construct an animated human view layer.
|
| Modifier and Type | Method and Description |
|---|---|
protected Pair<java.lang.Integer,java.lang.Integer> |
getLocation(Human h)
Get the location of a human.
|
java.lang.String |
getName()
Get the name of this layer.
|
void |
initialise(Config config)
Initialise this view layer.
|
boolean |
nextFrame()
Increase the frame number.
|
protected void |
preView()
Perform any pre-processing required before
StandardEntityViewLayer.view(java.lang.Object...) has been called. |
protected void |
viewObject(java.lang.Object o)
Callback function for processing a concrete viewable object.
|
getPopupMenuItems, postView, renderrender, viewisVisible, processView, setLayerViewComponent, setVisiblepublic AnimatedHumanLayer()
public void initialise(Config config)
ViewLayerinitialise in interface ViewLayerinitialise in class HumanLayerconfig - The system configuration.public java.lang.String getName()
ViewLayergetName in interface ViewLayergetName in class HumanLayerpublic boolean nextFrame()
protected Pair<java.lang.Integer,java.lang.Integer> getLocation(Human h)
HumanLayergetLocation in class HumanLayerh - The human to look up.protected void preView()
StandardEntityViewLayerStandardEntityViewLayer.view(java.lang.Object...) has been called.preView in class StandardEntityViewLayer<Human>protected void viewObject(java.lang.Object o)
AbstractViewLayerviewObject in class StandardEntityViewLayer<Human>o - The object to process.