Table of Contents

Class SimulationSpeedManager

Namespace
Root
Assembly
SPZGameAssembly.dll
public class SimulationSpeedManager : ISimulationSpeedReader
Inheritance
object
SimulationSpeedManager
Implements
Extension Methods

Constructors

SimulationSpeedManager(float)

public SimulationSpeedManager(float speed)

Parameters

speed float

Properties

CurrentRealtime

public double CurrentRealtime { get; protected set; }

Property Value

double

DoStep

public bool DoStep { get; set; }

Property Value

bool

IsPaused

public bool IsPaused { get; set; }

Property Value

bool

OnSpeedChanged

public IEvent<float> OnSpeedChanged { get; }

Property Value

IEvent<float>

SimulationTime_G

[Obsolete("Get the simulation time from the MapSimulator instead!")]
public double SimulationTime_G { get; protected set; }

Property Value

double

Speed

public float Speed { get; set; }

Property Value

float

Methods

Dispose()

public void Dispose()

PerformTick(Ticks)

public void PerformTick(Ticks dt)

Parameters

dt Ticks

RegisterCommands(IDebugConsole)

public void RegisterCommands(IDebugConsole console)

Parameters

console IDebugConsole