OptionalMapper<T extends Component> constructor
OptionalMapper<T extends Component> (
- World world
Create a Mapper for T
in world
.
Implementation
OptionalMapper(World world)
: _components = world.componentManager
._getComponentsByType<T>(ComponentType.getTypeFor(T));