Class SimulationBundle
- Namespace
- Game.Content.Features.SpacePaths
- Assembly
- Game.Content.Features.dll
public static class SimulationBundle
- Inheritance
-
objectSimulationBundle
Methods
Create<TSimulation, TState>(IBundleState<TState>, Func<TState, short, short, TSimulation>)
public static SimulationBundle<TSimulation> Create<TSimulation, TState>(IBundleState<TState> bundleState, Func<TState, short, short, TSimulation> factory) where TSimulation : IItemSimulation, IUpdatableSimulation where TState : class
Parameters
bundleStateIBundleState<TState>factoryFunc<TState, short, short, TSimulation>
Returns
- SimulationBundle<TSimulation>
Type Parameters
TSimulationTState
Create<TSimulation, TState>(IBundleState<TState>, Func<TState, TSimulation>)
public static SimulationBundle<TSimulation> Create<TSimulation, TState>(IBundleState<TState> bundleState, Func<TState, TSimulation> factory) where TSimulation : IItemSimulation, IUpdatableSimulation where TState : class
Parameters
bundleStateIBundleState<TState>factoryFunc<TState, TSimulation>
Returns
- SimulationBundle<TSimulation>
Type Parameters
TSimulationTState