Class PlantGrower
Inheritance
System.Object
PlantGrower
Assembly: Eco.Simulation.dll
Syntax
public class PlantGrower : WorldLayerPusher<Tuple<int, float, float>>, IWorldLayerPusher, IWorldLayerRelationship
Constructors
PlantGrower(PlantSpecies)
Declaration
public PlantGrower(PlantSpecies species)
Parameters
Fields
GrowthRateModifier
Declaration
public static float GrowthRateModifier
Field Value
Type |
Description |
System.Single |
|
PlantBecomeMature
Declaration
public static readonly ThreadSafeAction<Vector3i> PlantBecomeMature
Field Value
Properties
DependencyLayerNames
Declaration
public override string[] DependencyLayerNames { get; }
Property Value
Type |
Description |
System.String[] |
|
Overrides
Eco.Simulation.WorldLayers.WorldLayerPusher<System.Tuple<System.Int32, System.Single, System.Single>>.DependencyLayerNames
DescribeGeneral
Declaration
public override string DescribeGeneral { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Eco.Simulation.WorldLayers.WorldLayerPusher<System.Tuple<System.Int32, System.Single, System.Single>>.DescribeGeneral
Methods
Apply(WorldArea, Single[], WorldLayerNeighborInfo[], Int32)
Declaration
public override void Apply(WorldArea area, float[] layerValues, WorldLayerNeighborInfo[] neighborValues, int length)
Parameters
Overrides
Eco.Simulation.WorldLayers.WorldLayerPusher<System.Tuple<System.Int32, System.Single, System.Single>>.Apply(Eco.Shared.Math.WorldArea, System.Single[], Eco.Simulation.WorldLayers.WorldLayerNeighborInfo[], System.Int32)
DescribeAggregated(IEnumerable<Tuple<Int32, Single, Single>>)
Declaration
protected override string DescribeAggregated(IEnumerable<Tuple<int, float, float>> intermediateDescriptions)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Tuple<System.Int32, System.Single, System.Single>> |
intermediateDescriptions |
|
Returns
Type |
Description |
System.String |
|
Overrides
Eco.Simulation.WorldLayers.WorldLayerPusher<System.Tuple<System.Int32, System.Single, System.Single>>.DescribeAggregated(System.Collections.Generic.IEnumerable<System.Tuple<System.Int32, System.Single, System.Single>>)
DescribeSpecific(WorldArea, Single[], WorldLayerNeighborInfo[])
Declaration
protected override Tuple<int, float, float> DescribeSpecific(WorldArea area, float[] layerValues, WorldLayerNeighborInfo[] neighborValues)
Parameters
Returns
Type |
Description |
System.Tuple<System.Int32, System.Single, System.Single> |
|
Overrides
Eco.Simulation.WorldLayers.WorldLayerPusher<System.Tuple<System.Int32, System.Single, System.Single>>.DescribeSpecific(Eco.Shared.Math.WorldArea, System.Single[], Eco.Simulation.WorldLayers.WorldLayerNeighborInfo[])
Implements