Show / Hide Table of Contents

Class PlantGrower

Inheritance
System.Object
WorldLayerPusher<System.Tuple<System.Int32, System.Single, System.Single>>
PlantGrower
Implements
IWorldLayerPusher
IWorldLayerRelationship
Inherited Members
WorldLayerPusher<Tuple<Int32, Single, Single>>.Apply(WorldArea, Single[], WorldLayerNeighborInfo[], Int32)
WorldLayerPusher<Tuple<Int32, Single, Single>>.DescribeParameterized(WorldArea)
WorldLayerPusher<Tuple<Int32, Single, Single>>.DescribeSpecific(WorldArea, Single[], WorldLayerNeighborInfo[])
WorldLayerPusher<Tuple<Int32, Single, Single>>.DescribeAggregated(IEnumerable<Tuple<Int32, Single, Single>>)
WorldLayerPusher<Tuple<Int32, Single, Single>>.DependencyLayerNames
WorldLayerPusher<Tuple<Int32, Single, Single>>.Dependencies
WorldLayerPusher<Tuple<Int32, Single, Single>>.DescribeGeneral
Namespace: Eco.Simulation.WorldLayers.Pushers
Assembly: Eco.Simulation.dll
Syntax
public class PlantGrower : WorldLayerPusher<Tuple<int, float, float>>, IWorldLayerPusher, IWorldLayerRelationship

Constructors

PlantGrower(PlantSpecies)

Declaration
public PlantGrower(PlantSpecies species)
Parameters
Type Name Description
PlantSpecies species

Fields

GrowthRateModifier

Declaration
public static float GrowthRateModifier
Field Value
Type Description
System.Single

PlantBecomeMature

Declaration
public static readonly ThreadSafeAction<Vector3i> PlantBecomeMature
Field Value
Type Description
ThreadSafeAction<Vector3i>

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
Type Name Description
WorldArea area
System.Single[] layerValues
WorldLayerNeighborInfo[] neighborValues
System.Int32 length
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
Type Name Description
WorldArea area
System.Single[] layerValues
WorldLayerNeighborInfo[] neighborValues
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

IWorldLayerPusher
IWorldLayerRelationship
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾