Responsible for instantiating Quantum systems on simulation start. User systems can be added by adding a SystemsConfig to the RuntimeConfig. Or adding them in the user callback AddSystemsUser. More...
Static Public Member Functions | |
static ICollection< SystemBase > | CreateSystems (RuntimeConfig gameConfig, SimulationConfig simulationConfig, SystemsConfig systemsConfig) |
The methods instantiates requested Quantum systems when starting the simulation. More... | |
Responsible for instantiating Quantum systems on simulation start. User systems can be added by adding a SystemsConfig to the RuntimeConfig. Or adding them in the user callback AddSystemsUser.
|
inlinestatic |
The methods instantiates requested Quantum systems when starting the simulation.
It first tries to call the legacy system setup method (SystemSetup class), if the method is found it will return those systems on not use the provided systems config.
If systemsConfig is null only the default Quantum system are created. Otherwise the types inside systemsConfig are created.
Debug build will add the Core.DebugCommand system. Disable this by defining QUANTUM_DEBUG_COMMAND_DISABLED.
Finally the AddSystemsUser(ICollection<SystemBase>, RuntimeConfig, SimulationConfig, SystemsConfig) partial method is called to allow changes to the final system list.
gameConfig | Runtime config. |
simulationConfig | Simulation config. |
systemsConfig | List of systems to create. |