Class WorldLayerPusher<TIntermediateDescription>
Modifies the world to reflect the state of the world layer simulation, e.g. spawns and kills animals to make the population match.
Inheritance
System.Object
WorldLayerPusher<TIntermediateDescription>
Assembly: Eco.Simulation.dll
Syntax
public abstract class WorldLayerPusher<TIntermediateDescription> : Object, IWorldLayerPusher, IWorldLayerRelationship
Type Parameters
Name |
Description |
TIntermediateDescription |
|
Constructors
WorldLayerPusher()
Declaration
protected WorldLayerPusher()
Properties
Dependencies
Declaration
public WorldLayer[] Dependencies { get; }
Property Value
DependencyLayerNames
Declaration
public abstract string[] DependencyLayerNames { get; }
Property Value
Type |
Description |
System.String[] |
|
DescribeGeneral
Declaration
public abstract string DescribeGeneral { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Apply(WorldArea, Single[], WorldLayerNeighborInfo[], Int32)
Declaration
public abstract void Apply(WorldArea area, float[] layerValues, WorldLayerNeighborInfo[] neighborValues, int length)
Parameters
DescribeAggregated(IEnumerable<TIntermediateDescription>)
Declaration
protected abstract string DescribeAggregated(IEnumerable<TIntermediateDescription> intermediateDescriptions)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<TIntermediateDescription> |
intermediateDescriptions |
|
Returns
Type |
Description |
System.String |
|
DescribeParameterized(WorldArea)
Declaration
public string DescribeParameterized(WorldArea area)
Parameters
Returns
Type |
Description |
System.String |
|
DescribeSpecific(WorldArea, Single[], WorldLayerNeighborInfo[])
Declaration
protected abstract TIntermediateDescription DescribeSpecific(WorldArea area, float[] layerValues, WorldLayerNeighborInfo[] neighborValues)
Parameters
Returns
Type |
Description |
TIntermediateDescription |
|
Implements