Modifier and Type | Method and Description |
---|---|
T |
get(Entity entity) |
static <T extends Component> |
getFor(java.lang.Class<T> componentClass) |
boolean |
has(Entity entity) |
public static <T extends Component> ComponentMapper<T> getFor(java.lang.Class<T> componentClass)
componentClass
- Component class to be retrieved by the mapper.Component
of the specified class.public boolean has(Entity entity)