Show / Hide Table of Contents

Class WorldLayerPuller<TIntermediateDescription>

Modifies a world layer based on the state of the world and events since the last tick, e.g. adjusts animal population based on player hunting activity.

Inheritance
System.Object
WorldLayerPuller<TIntermediateDescription>
AccumulatingPuller
PullConstructed
PullFertileGround
PullPlantGrowth
TailingsPollutionPuller
Implements
IWorldLayerPuller
IWorldLayerRelationship
Namespace: Eco.Simulation.WorldLayers
Assembly: Eco.Simulation.dll
Syntax
public abstract class WorldLayerPuller<TIntermediateDescription> : Object, IWorldLayerPuller, IWorldLayerRelationship
Type Parameters
Name Description
TIntermediateDescription

Constructors

WorldLayerPuller()

Declaration
protected WorldLayerPuller()

Properties

DescribeGeneral

Declaration
public abstract string DescribeGeneral { get; }
Property Value
Type Description
System.String

OutputLayer

Declaration
public WorldLayer OutputLayer { get; }
Property Value
Type Description
WorldLayer

OutputLayerName

Declaration
public abstract string OutputLayerName { get; }
Property Value
Type Description
System.String

Methods

Apply(WorldArea)

Declaration
public abstract float Apply(WorldArea area)
Parameters
Type Name Description
WorldArea area
Returns
Type Description
System.Single

ApplyDestructive(WorldArea)

Declaration
public abstract float ApplyDestructive(WorldArea area)
Parameters
Type Name Description
WorldArea area
Returns
Type Description
System.Single

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
Type Name Description
WorldArea area
Returns
Type Description
System.String

DescribeSpecific(WorldArea)

Declaration
protected abstract TIntermediateDescription DescribeSpecific(WorldArea area)
Parameters
Type Name Description
WorldArea area
Returns
Type Description
TIntermediateDescription

Implements

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