예제 #1
0
 /**
  * Retrieves a ComponentMapper instance for fast retrieval of components from entities.
  *
  * <p>Odb automatically injects component mappers into systems, calling this method is usually not
  * required.,
  *
  * @param <T> class type of the component
  * @param type type of component to get mapper for
  * @return mapper for specified component type
  */
 public <T extends Component> ComponentMapper<T> getMapper(Class<T> type) {
   return cm.getMapper(type);
 }