Whether or not the entity is alive or removed.
A unique ID for this entity.
Add a component to the entity.
Type of component to add to this entity
Optional values to replace the default attributes on the component
Get an immutable reference to a component on this entity.
Type of component to get
Whether a component that is staled to be removed should be also considered
Get a list of component types that have been added to this entity.
Get an object containing all the components on this entity, where the object keys are the component types.
Get an object containing all the components that are slated to be removed from this entity, where the object keys are the component types.
Get a mutable reference to a component on this entity.
Type of component to get
Get a component that is slated to be removed from this entity.
Check if the entity has all components in a list.
Component types to check
Check if the entity has any of the components in a list.
Component types to check
Check if the entity has a component.
Type of component
Whether a component that is staled to be removed should be also considered
Check if the entity has a component that is slated to be removed.
Type of component
Remove this entity from the world.
Whether this entity should be removed immediately
Remove all components on this entity.
Whether all components should be removed immediately
Remove a component from the entity.
Type of component to remove from this entity
Whether a component should be removed immediately
Generated using TypeDoc
An entity in the world.