| Package | Description |
|---|---|
| com.artemis |
Core Artemis classes.
|
| com.artemis.managers |
Manager implementations.
|
| com.artemis.systems |
Entity systems.
|
| com.artemis.utils |
Helper classes.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableBag<Entity> |
EntitySystem.getActives()
Get all entities being processed by this system.
|
ImmutableBag<Manager> |
World.getManagers() |
ImmutableBag<EntitySystem> |
World.getSystems()
Gives you all the systems in this world for possible iteration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EntityObserver.added(ImmutableBag<Entity> entities) |
void |
Manager.added(ImmutableBag<Entity> entities) |
void |
EntitySystem.added(ImmutableBag<Entity> entities) |
void |
EntityObserver.changed(ImmutableBag<Entity> entities) |
void |
Manager.changed(ImmutableBag<Entity> entities) |
void |
EntitySystem.changed(ImmutableBag<Entity> entities) |
void |
EntityObserver.deleted(ImmutableBag<Entity> entities) |
void |
Manager.deleted(ImmutableBag<Entity> entities) |
void |
EntitySystem.deleted(ImmutableBag<Entity> entities) |
protected abstract void |
EntitySystem.processEntities(ImmutableBag<Entity> entities)
Any implementing entity system must implement this method and the logic
to process the given entities of the system.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableBag<Entity> |
GroupManager.getEntities(String group)
Get all entities that belong to the provided group.
|
ImmutableBag<Entity> |
PlayerManager.getEntitiesOfPlayer(String player)
Get all entities belonging to a player.
|
ImmutableBag<String> |
GroupManager.getGroups(Entity e)
Get all groups the entity belongs to.
|
ImmutableBag<String> |
TeamManager.getPlayers(String team)
Get all players on a team.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
VoidEntitySystem.processEntities(ImmutableBag<Entity> entities) |
protected void |
IntervalEntityProcessingSystem.processEntities(ImmutableBag<Entity> entities) |
protected void |
DelayedEntityProcessingSystem.processEntities(ImmutableBag<Entity> entities) |
protected void |
EntityProcessingSystem.processEntities(ImmutableBag<Entity> entities) |
| Modifier and Type | Class and Description |
|---|---|
class |
Bag<E>
Collection type a bit like ArrayList but does not preserve the order of its
entities, speedwise it is very good, especially suited for games.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Bag.addAll(ImmutableBag<E> items)
Add all items into this bag.
|
boolean |
Bag.removeAll(ImmutableBag<E> bag)
Removes from this Bag all of its elements that are contained in the
specified Bag.
|
Copyright © 2014. All Rights Reserved.