Mapper<T extends Component> constructor

Mapper<T extends Component>(
  1. World world
)

Create a Mapper for T in world.

Implementation

Mapper(World world)
    : _components = world.componentManager
          ._getComponentsByType<T>(ComponentType.getTypeFor(T));