| Constructor and Description |
|---|
FireBrigade(EntityID id)
Construct a FireBrigade object with entirely undefined values.
|
FireBrigade(FireBrigade other)
FireBrigade copy constructor.
|
| 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.
|
Property |
getProperty(java.lang.String urn)
Get a property by urn.
|
StandardEntityURN |
getStandardURN()
Get the URN of this entity type as an instanceof StandardEntityURN.
|
int |
getWater()
Get the amount of water this fire brigade is carrying.
|
IntProperty |
getWaterProperty()
Get the water property.
|
boolean |
isWaterDefined()
Find out if the water property has been defined.
|
void |
setWater(int water)
Set the amount of water this fire brigade is carrying.
|
void |
undefineWater()
Undefine the water property.
|
getBuriedness, getBuriednessProperty, getDamage, getDamageProperty, getDirection, getDirectionProperty, getHP, getHPProperty, getLocation, getPosition, getPosition, getPositionHistory, getPositionHistoryProperty, getPositionProperty, 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, undefineYgetURNaddEntityListener, copy, equals, firePropertyChanged, getFullDescription, getID, getProperties, hashCode, read, registerProperties, removeEntityListener, toString, writepublic FireBrigade(EntityID id)
id - The ID of this entity.public FireBrigade(FireBrigade other)
other - The FireBrigade to copy.protected Entity copyImpl()
AbstractEntitycopyImpl in class AbstractEntitypublic StandardEntityURN getStandardURN()
StandardEntitygetStandardURN in class StandardEntitypublic Property getProperty(java.lang.String urn)
EntitygetProperty in interface EntitygetProperty in class Humanurn - The urn to look up.public IntProperty getWaterProperty()
public int getWater()
public void setWater(int water)
water - The new amount of water.public boolean isWaterDefined()
public void undefineWater()
protected java.lang.String getEntityName()
AbstractEntitygetEntityName in class AbstractEntity