getSystem

inline fun <T : BaseSystem> World.getSystem(): T

Retrieves a system from the World.

Receiver

the World.

Return

the BaseSystem of the given type.

Parameters

T

type of the system to retrieve.

Throws

if no system under T type is registered.