Table of Contents

Class SimulationBundle

Namespace
Game.Content.Features.SpacePaths
Assembly
Game.Content.Features.dll
public static class SimulationBundle
Inheritance
object
SimulationBundle

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

bundleState IBundleState<TState>
factory Func<TState, short, short, TSimulation>

Returns

SimulationBundle<TSimulation>

Type Parameters

TSimulation
TState

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

bundleState IBundleState<TState>
factory Func<TState, TSimulation>

Returns

SimulationBundle<TSimulation>

Type Parameters

TSimulation
TState