maybeSystem<T extends WorldSystem> method
The world's system of type T, or null if it has none yet.
Implementation
T? maybeSystem<T extends WorldSystem>() => _systemsByType[T] as T?;
The world's system of type T, or null if it has none yet.
T? maybeSystem<T extends WorldSystem>() => _systemsByType[T] as T?;