Photon Quantum 3.0.0

Static Public Member Functions | List of all members
Quantum.DeterministicCommandSetup Class Reference

A partial static class to extend by implementing the partial method AddCommandFactoriesUser. It's used to create the Quantum command factories when initializing the simulation, either DeterministicCommand or DeterministicCommandPool<T> object. Only commands added here can be invoked by the simulation. More...

Static Public Member Functions

static IDeterministicCommandFactory[] GetCommandFactories (RuntimeConfig gameConfig, SimulationConfig simulationConfig)
 Creates a list of command factories for a Quantum simulation. More...
 

Detailed Description

A partial static class to extend by implementing the partial method AddCommandFactoriesUser. It's used to create the Quantum command factories when initializing the simulation, either DeterministicCommand or DeterministicCommandPool<T> object. Only commands added here can be invoked by the simulation.

Member Function Documentation

◆ GetCommandFactories()

static IDeterministicCommandFactory [] Quantum.DeterministicCommandSetup.GetCommandFactories ( RuntimeConfig  gameConfig,
SimulationConfig  simulationConfig 
)
inlinestatic

Creates a list of command factories for a Quantum simulation.

Parameters
gameConfigThe used RuntimeConfig
simulationConfigThe used SimulationConfig
Returns
List of command factories