mapperFor

inline fun <T : Component> World.mapperFor(): ComponentMapper<T>

Retrieves a ComponentMapper instance for a Component.

Receiver

the World.

Return

the ComponentMapper of the given type.

Parameters

T

type of the ComponentMapper to retrieve.