Class ScenarioEngine
Adapts the Xareus scenario engine to the Unity/MiddleVR system.
Inheritance
ScenarioEngine
Assembly: Xareus.Scenarios.Unity.dll
Syntax
public class ScenarioEngine : MonoBehaviour, IScenarioEngine
Fields
Instance
Declaration
public static ScenarioEngine Instance
Field Value
Properties
Ready
Declaration
public bool Ready { get; }
Property Value
Methods
AddRealizationExecuted(XURealization)
Declaration
public void AddRealizationExecuted(XURealization xuRealization)
Parameters
AddRealizationExecuted(XURealization, Action)
Declaration
public void AddRealizationExecuted(XURealization xuRealization, Action resultCallback)
Parameters
GetEnabledTransitions()
Get all enabled transitions in the scenario. Note that the code is not threaded
Declaration
public IEnumerable<Transition> GetEnabledTransitions()
Returns
GetEnabledTransitions(Action<IEnumerable<Transition>>)
Get all enabled transitions in the scenario. Note that the code is executed in a separate thread
Declaration
public void GetEnabledTransitions(Action<IEnumerable<Transition>> resultCallback)
Parameters
GetRealizationsToExecute(Action<List<XURealization>>)
Declaration
public void GetRealizationsToExecute(Action<List<XURealization>> resultCallback)
Parameters
GetRealizationsToPropose()
Declaration
public List<XURealization> GetRealizationsToPropose()
Returns
GetRealizationsToPropose(Action<List<XURealization>>)
Declaration
public void GetRealizationsToPropose(Action<List<XURealization>> resultCallback)
Parameters
NextStep(Action<bool>)
Declaration
public void NextStep(Action<bool> resultCallback)
Parameters
Implements