Class Extensions
- Namespace
- NominalSystems
- Assembly
- NominalSystems.Core.dll
Represents a collection of supported extension functions by the "Core" library.
public static class Extensions
- Inheritance
-
Extensions
Methods
GetSystem(Simulation, Type)
Gets a exisiting simulation system with the specified type.
public static Simulation.System GetSystem(this Simulation src, Type type)
Parameters
src
Simulationtype
Type
Returns
Exceptions
GetSystem<T>(Simulation)
Gets a exisiting simulation system with the specified type.
public static T GetSystem<T>(this Simulation src) where T : Simulation.System
Parameters
src
Simulation
Returns
- T
Type Parameters
T
Exceptions
Tick(Simulation, double)
Ticks the simulation by propagating all systems forward in time.
public static void Tick(this Simulation src, double seconds)
Parameters
src
Simulationseconds
double