Optional
accelerationOptional
activeOptional
beginOptional
childrenOptional
childrenOptional
componentObservable that keeps track of component add or remove changes on the entity
Optional
componentOptional
currentOptional
elapsedOptional
endOptional
endOptional
eventsListen to or emit events for an entity
Optional
fadeOptional
focusOptional
focusOptional
graphicsOptional
idThe unique identifier for the entity
Optional
isOptional
lifeOptional
opacityOptional
particleOptional
particleOptional
particleOptional
positionOptional
sceneThe scene that the entity is in, if any
Optional
sizeOptional
startOptional
transformOptional
velocityOptional
visibleOptional
_initializeOptional
_postupdateInternal
It is not recommended that internal excalibur methods be overridden, do so at your own risk.
Internal _preupdate handler for onPostUpdate lifecycle event
Optional
_preupdateInternal
It is not recommended that internal excalibur methods be overridden, do so at your own risk.
Internal _preupdate handler for onPreUpdate lifecycle event
Optional
addOptional
addAdds a component to the entity
Component or Entity to add copy of components from
Optionally overwrite any existing components of the same type
Optional
addOptional
addAdds a copy of all the components from another template entity as a "prefab"
Entity to use as a template
Force component replacement if it already exists on the target entity
Optional
clearOptional
cloneOptional
emitOptional
event: anyOptional
getGet a component by type with typecheck
(Does not work on tag components, use .hasTag("mytag") instead)
Optional
getOptional
getOptional
getOptional
hasCheck if a component type exists
Optional
hasOptional
isOptional
killOptional
offOptional
onOptional
onOptional
onOptional
onOptional
onceOptional
removeOptional
removeOptional
removeRemoves a component from the entity, by default removals are deferred to the end of entity update to avoid consistency issues
Components can be force removed with the force
flag, the removal is not deferred and happens immediately
Optional
removeOptional
unparentOptional
update
Whether this entity is active, if set to false it will be reclaimed