Package | Description |
---|---|
com.artemis |
Core Artemis classes.
|
Modifier and Type | Field and Description |
---|---|
ComponentType |
BaseComponentMapper.type
The type of components this mapper handles.
|
Modifier and Type | Method and Description |
---|---|
ComponentType |
BaseComponentMapper.getType()
Returns the ComponentType of this ComponentMapper.
|
ComponentType |
ComponentTypeFactory.getTypeFor(Class<? extends Component> c)
Gets the component type for the given component class.
|
ComponentType |
ComponentTypeFactory.getTypeFor(int index)
Gets component type by index.
|
Modifier and Type | Method and Description |
---|---|
ImmutableBag<ComponentType> |
ComponentManager.getComponentTypes() |
Modifier and Type | Method and Description |
---|---|
EntityEdit |
EntityEdit.add(Component component,
ComponentType type)
Faster adding of components into the entity.
|
Component |
Entity.getComponent(ComponentType type)
Retrieves component from this entity.
|
protected Component |
ComponentManager.getComponent(int entityId,
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.
|
void |
ComponentTypeFactory.ComponentTypeListener.onCreated(ComponentType type) |
EntityEdit |
EntityEdit.remove(ComponentType type)
Removal of components from a entity.
|
Modifier and Type | Method and Description |
---|---|
void |
ComponentTypeFactory.ComponentTypeListener.initialize(Bag<ComponentType> registered) |
Constructor and Description |
---|
BaseComponentMapper(ComponentType type) |
Copyright © 2019. All rights reserved.