Show / Hide Table of Contents

Class TreeBranch

Inheritance
System.Object
TreeBranch
Namespace: Eco.Simulation.Agents
Assembly: Eco.Simulation.dll
Syntax
public class TreeBranch : Object

Constructors

TreeBranch(TreeBranchDef)

Declaration
public TreeBranch(TreeBranchDef branchDef)
Parameters
Type Name Description
TreeBranchDef branchDef

TreeBranch(Single, Int32)

Declaration
public TreeBranch(float health, int numLeaves)
Parameters
Type Name Description
System.Single health
System.Int32 numLeaves

Properties

Health

Declaration
public float Health { get; set; }
Property Value
Type Description
System.Single

Leaves

Declaration
public LeafBunch[] Leaves { get; set; }
Property Value
Type Description
LeafBunch[]

MatureAge

Declaration
public double MatureAge { get; }
Property Value
Type Description
System.Double

Orientation

Declaration
public float Orientation { get; set; }
Property Value
Type Description
System.Single

SpawnAge

Declaration
public double SpawnAge { get; }
Property Value
Type Description
System.Double
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾