| Package | Description |
|---|---|
| ca.blarg.gdx.entities |
| Modifier and Type | Method and Description |
|---|---|
Entity |
EntityManager.add()
public Entity management
|
<T extends EntityPreset> |
EntityManager.addUsingPreset(Class<T> presetType) |
<T extends EntityPreset> |
EntityManager.addUsingPreset(Class<T> presetType,
EntityPreset.CreationArgs args) |
abstract Entity |
EntityPreset.create(EntityPreset.CreationArgs args) |
<T extends Component> |
EntityManager.getFirstWith(Class<T> componentType) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Component> |
EntityManager.getAllWith(Class<T> componentType) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Component> |
EntityManager.addComponent(Class<T> componentType,
Entity entity)
public Entity Component management
|
void |
EntityManager.getAllComponentsFor(Entity entity,
com.badlogic.gdx.utils.Array<Component> list) |
<T extends Component> |
EntityManager.getComponent(Class<T> componentType,
Entity entity) |
<T extends Component> |
EntityManager.hasComponent(Class<T> componentType,
Entity entity) |
boolean |
EntityManager.isValid(Entity entity) |
void |
EntityManager.remove(Entity entity) |
<T extends Component> |
EntityManager.removeComponent(Class<T> componentType,
Entity entity) |
| Modifier and Type | Method and Description |
|---|---|
<T extends EntityPreset> |
EntityManager.getAllCreatedWithPreset(Class<T> presetType,
com.badlogic.gdx.utils.Array<Entity> outMatchingEntities) |
Copyright © 2022. All rights reserved.