- getId
The internal id for this entity within the framework. Id is zero or greater. No
other entity will ha
- edit
Get entity editor.
- getComponent
Slower retrieval of components from this entity. Minimize usage of this. Use
ComponentMapper instead
- deleteFromWorld
Delete the entity from the world. The entity is considered to be in a final
state once invoked; addi
- getCompositionId
- <init>
Creates a new Entity instance in the given world. This will only be called by
the world via it's ent
- getComponentBits
Returns a BitVector instance containing bits of the components the entity
possesses.
- isActive
Checks if the entity has been added to the world and has not been deleted from
it. If the entity has
- equals
id equality
- getWorld
Returns the world this entity belongs to.
- addComponent
Add a component to this entity.
- removeComponent
Remove component by its type.