Abstract
Optional
entityOptions: IEntityConstructorOptions<TypeType>Protected
Optional
_descriptionProtected
Optional
_movementOptional
allowOptional
animOptional
attackOptional
attackOptional
directionundefined = Vector2.ZERO for this
Readonly
Abstract
entityOptional
facingundefined = Direction.None for this
Optional
fromXNote: This might not be a whole number.
Optional
fromYNote: This might not be a whole number.
Optional
isNot guaranteed to be synced between the server and client for Human entities
Optional
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
shouldReadonly
Abstract
tileAbstract
asAbstract
asAbstract
asAbstract
asAbstract
asAbstract
asAbstract
asNPCAbstract
asAbstract
asGet the entities description
Optional
fieldOfView: defaultOptional
customRadius: numberOptional
customRadius: numberOptional
fieldOfView: defaultOptional
customRadius: numberProtected
Abstract
getAbstract
getGets 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.
Abstract
isOptional
options: IMoveToOptionsProtected
onProtected
setProtected
setProtected
setOptional
toZ: numberOptional
options: IMoveToOptionsProtected
Abstract
updateGenerated using TypeDoc
Entity class that allows movement