Quantum 3 3.1.0

Public Member Functions | Properties | List of all members
Quantum.IRunnerFactory Interface Reference

The interface for the runner factory. It creates platform specific objects to run the Quantum simulation. More...

Inheritance diagram for Quantum.IRunnerFactory:
Quantum.DotNetRunnerFactory Quantum.QuantumRunnerUnityFactory

Public Member Functions

IDeterministicGame CreateGame (QuantumGameStartParameters startParameters)
 Instantiate an implementation of the IDeterministicGame. More...
 
SessionRunner CreateRunner (SessionRunner.Arguments arguments, string defaultRunnerId)
 Create an object that the SessionRunner is running on. For Unity it is wrapped in a MonoBehaviour. More...
 

Properties

DeterministicPlatformInfo CreatePlatformInfo [get]
 Gather the platform information. There is a spelling mistake in the method name, but it's considered a bigger annoyance to change the interface. More...
 
TaskFactory CreateTaskFactory [get]
 Create a Quantum task factory. More...
 
Action UpdateDB [get]
 The action to when an update to the AssetDB is required. More...
 

Detailed Description

The interface for the runner factory. It creates platform specific objects to run the Quantum simulation.

Member Function Documentation

◆ CreateGame()

IDeterministicGame Quantum.IRunnerFactory.CreateGame ( QuantumGameStartParameters  startParameters)

Instantiate an implementation of the IDeterministicGame.

Parameters
startParametersStart parameters
Returns
Instance of IDeterministicGame

Implemented in Quantum.QuantumRunnerUnityFactory, and Quantum.DotNetRunnerFactory.

◆ CreateRunner()

SessionRunner Quantum.IRunnerFactory.CreateRunner ( SessionRunner.Arguments  arguments,
string  defaultRunnerId 
)

Create an object that the SessionRunner is running on. For Unity it is wrapped in a MonoBehaviour.

Parameters
argumentsSession arguments
defaultRunnerIdOptionally a default runner name
Returns
A session runner

Implemented in Quantum.QuantumRunnerUnityFactory, and Quantum.DotNetRunnerFactory.

Property Documentation

◆ CreatePlatformInfo

DeterministicPlatformInfo Quantum.IRunnerFactory.CreatePlatformInfo
get

Gather the platform information. There is a spelling mistake in the method name, but it's considered a bigger annoyance to change the interface.

◆ CreateTaskFactory

TaskFactory Quantum.IRunnerFactory.CreateTaskFactory
get

Create a Quantum task factory.

◆ UpdateDB

Action Quantum.IRunnerFactory.UpdateDB
get

The action to when an update to the AssetDB is required.