Optional
entityOptions: IEntityConstructorOptions<TileEventType>Protected
Optional
_descriptionProtected
Optional
_movementOptional
allowOptional
attackOptional
attackOptional
decayOptional
directionundefined = Vector2.ZERO for this
Readonly
eventOptional
facingundefined = Direction.None for this
Note: This might not be a whole number.
Note: This might not be a whole number.
Optional
fuelFor use with the Fire TileEvent to check if it has a fuel source and should create ash by default. Set to 0 to stop all ash production.
Optional
gfxOptional
isNot guaranteed to be synced between the server and client for Human entities
Optional
maxOptional
minOptional
moveOptional
movementOnly used for Human entities
The state of what the client thinks is happening to this entity (regarding movement)
Optional
movingOptional
preventOptional
referenceDo not use this property directly, instead use `game.references.getReference()
Optional
renamedOptional
shouldProtected
Optional
shouldOptional
spreadOptional
stepGet the entities description
Optional
fieldOfView: defaultOptional
customRadius: numberOptional
customRadius: numberOptional
fieldOfView: defaultOptional
customRadius: numberProtected
getCalled when filling out the entities description for the first time
Gets the temperature produced by this object. Positive values are "heat", negative values are "cold".
Refer to the values of the Temperature
enum to see the possible range.
If this method is not implemented, or it returns undefined
, Temperature.Neutral
is used.
Optional
options: IMoveToOptionsProtected
onProtected
setProtected
setProtected
setOptional
toZ: numberOptional
options: IMoveToOptionsProtected
updateStatic
isGenerated using TypeDoc
Entity class that allows movement