Constructor and Description |
---|
Civilian(Civilian other)
Civilian copy constructor.
|
Civilian(EntityID id)
Construct a Civilian object with entirely undefined values.
|
Modifier and Type | Method and Description |
---|---|
protected Entity |
copyImpl()
Create a copy of this entity.
|
protected java.lang.String |
getEntityName()
Get the name of this entity.
|
StandardEntityURN |
getStandardURN()
Get the URN of this entity type as an instanceof StandardEntityURN.
|
getBuriedness, getBuriednessProperty, getDamage, getDamageProperty, getDirection, getDirectionProperty, getHP, getHPProperty, getLocation, getPosition, getPosition, getPositionHistory, getPositionHistoryProperty, getPositionProperty, getProperty, getStamina, getStaminaProperty, getTravelDistance, getTravelDistanceProperty, getX, getXProperty, getY, getYProperty, isBuriednessDefined, isDamageDefined, isDirectionDefined, isHPDefined, isPositionDefined, isPositionHistoryDefined, isStaminaDefined, isTravelDistanceDefined, isXDefined, isYDefined, setBuriedness, setDamage, setDirection, setHP, setPosition, setPosition, setPositionHistory, setStamina, setTravelDistance, setX, setY, undefineBuriedness, undefineDamage, undefineDirection, undefineHP, undefinePosition, undefinePositionHistory, undefineStamina, undefineTravelDistance, undefineX, undefineY
getURN
addEntityListener, copy, equals, firePropertyChanged, getFullDescription, getID, getProperties, hashCode, read, registerProperties, removeEntityListener, toString, write
public Civilian(EntityID id)
id
- The ID of this entity.public Civilian(Civilian other)
other
- The Civilian to copy.protected Entity copyImpl()
AbstractEntity
copyImpl
in class AbstractEntity
public StandardEntityURN getStandardURN()
StandardEntity
getStandardURN
in class StandardEntity
protected java.lang.String getEntityName()
AbstractEntity
getEntityName
in class AbstractEntity