| Package | Description | 
|---|---|
| com.lhkbob.entreri | |
| com.lhkbob.entreri.task | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends Component>  | 
Entity.add(Class<T> componentType)
 Add a new Component with a data type T to this Entity. 
 | 
<T extends Component>  | 
Entity.add(T toClone)
 Add a new Component with a of type T to this Entity, but the new component's state
 will be cloned from the given Component instance. 
 | 
<T extends Component>  | 
ComponentIterator.addOptional(Class<T> type)
Add the given Component type as an optional component for this iterator. 
 | 
<T extends Component>  | 
ComponentIterator.addRequired(Class<T> type)
Add the given Component type as a required component for this iterator. 
 | 
<T extends Component>  | 
Entity.as(Class<T> type)
Get the canonical component instance of type T on this Entity. 
 | 
<T extends Component,P extends Property>  | 
EntitySystem.decorate(Class<T> type,
        PropertyFactory<P> factory)
 Dynamically update the available properties of the given Component type by adding a
 Property created by the given PropertyFactory. 
 | 
<T extends Component>  | 
Entity.get(Class<T> componentType)
 Get the Component instance of the given type that's attached to this Entity. 
 | 
<T extends Component>  | 
EntitySystem.getComponentTypes(Class<T> type)
Get all Component types within this EntitySystem that have types assignable to the
 input type. 
 | 
<T extends Component>  | 
EntitySystem.iterator(Class<T> type)
Return an iterator over all components of with the given type. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<Class<? extends Component>> | 
EntitySystem.getComponentTypes()
Get all Component interfaces currently used by the EntitySystem. 
 | 
Class<? extends Component> | 
Component.getType()
Get the class identifier for this component. 
 | 
Iterator<Component> | 
Entity.iterator()
 Return an iterator over the components currently attached to the Entity. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
Entity.has(Class<? extends Component> type)
Check whether or not the a component of the given type is attached to this entity. 
 | 
boolean | 
Entity.remove(Class<? extends Component> componentType)
 Remove any attached Component with the data type from this Entity. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Set<Class<? extends Component>> | 
ParallelAware.getAccessedComponents()
 Get the set of all component data types that might have their data mutated, be
 added to, or removed from an entity. 
 | 
Copyright © 2013. All Rights Reserved.