| Modifier | Constructor and Description |
|---|---|
protected |
StandardEntity(EntityID id)
Construct a StandardEntity with entirely undefined property values.
|
protected |
StandardEntity(StandardEntity other)
StandardEntity copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Pair<java.lang.Integer,java.lang.Integer> |
getLocation(WorldModel<? extends StandardEntity> world)
Get the location of this entity.
|
abstract StandardEntityURN |
getStandardURN()
Get the URN of this entity type as an instanceof StandardEntityURN.
|
java.lang.String |
getURN()
Get the urn of this Entity.
|
addEntityListener, copy, copyImpl, equals, firePropertyChanged, getEntityName, getFullDescription, getID, getProperties, getProperty, hashCode, read, registerProperties, removeEntityListener, toString, writeprotected StandardEntity(EntityID id)
id - The ID of this entity.protected StandardEntity(StandardEntity other)
other - The StandardEntity to copy.public Pair<java.lang.Integer,java.lang.Integer> getLocation(WorldModel<? extends StandardEntity> world)
world - The world model to look up for entity references.public abstract StandardEntityURN getStandardURN()
public final java.lang.String getURN()
Entity