initialize method

void initialize()

Makes sure all managers systems are initialized in the order they were added.

Implementation

void initialize() {
  _managersBag.forEach(_initializeManager);
  _systemsList
    ..forEach(_initializeSystem)
    ..forEach(componentManager.registerSystem);
  _initialized = true;
}