| Package | Description |
|---|---|
| com.artemis |
Core Artemis classes.
|
| Modifier and Type | Method and Description |
|---|---|
ComponentType |
ComponentTypeFactory.getTypeFor(Class<? extends Component> c)
Gets the component type for the given component class.
|
ComponentType |
ComponentTypeFactory.getTypeFor(int index)
Gets the component type for the given component class.
|
| Modifier and Type | Method and Description |
|---|---|
EntityEdit |
EntityEdit.add(Component component,
ComponentType type)
Faster adding of components into the entity.
|
Entity |
Entity.addComponent(Component component,
ComponentType type)
Deprecated.
See
Entity.edit() |
protected void |
ComponentManager.addComponent(Entity e,
ComponentType type,
Component component)
Adds the component of the given type to the entity.
|
Component |
Entity.getComponent(ComponentType type)
Retrieves component from this entity.
|
protected Component |
ComponentManager.getComponent(Entity e,
ComponentType type)
Get a component of an entity.
|
protected Bag<Component> |
ComponentManager.getComponentsByType(ComponentType type)
Get all components from all entities for a given type.
|
protected BitSet |
ComponentManager.getPackedComponentOwners(ComponentType type) |
EntityEdit |
EntityEdit.remove(ComponentType type)
Faster removal of components from a entity.
|
Entity |
Entity.removeComponent(ComponentType type)
Deprecated.
See
Entity.edit() |
protected void |
ComponentManager.removeComponent(Entity e,
ComponentType type)
Removes the component of given type from the entity.
|
| Constructor and Description |
|---|
ArchetypeBuilder.Archetype(ComponentType[] types,
int compositionId) |
Copyright © 2014. All Rights Reserved.