Show / Hide Table of Contents

Class Organism

Inheritance
System.Object
Tickable
Organism
Animal
Plant
Implements
ITickable
System.IComparable
Inherited Members
Tickable.Tick()
Tickable.Destroy()
Tickable.CompareTo(Object)
Tickable.IsReady()
Tickable.NextTick
Tickable.QueueHandle
Namespace: Eco.Simulation.Agents
Assembly: Eco.Simulation.dll
Syntax
public abstract class Organism : Tickable, ITickable, IComparable

Constructors

Organism()

Declaration
protected Organism()

Organism(Species)

Declaration
public Organism(Species species)
Parameters
Type Name Description
Species species

Properties

Alive

Declaration
public bool Alive { get; }
Property Value
Type Description
System.Boolean

BornTime

Born time in Seconds.

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

ClientBasedGrowthPercent

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

Dead

Declaration
public bool Dead { get; set; }
Property Value
Type Description
System.Boolean

DeadType

Declaration
public DeathType DeadType { get; set; }
Property Value
Type Description
DeathType

GrowthPercent

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

Position

Declaration
public virtual Vector3 Position { get; set; }
Property Value
Type Description
System.Numerics.Vector3

Species

Declaration
public virtual Species Species { get; protected set; }
Property Value
Type Description
Species

WorldHomePos

Home position is a position where it was spawned by simulation, it may be different from Position if Organism moved

Declaration
public virtual Vector2i WorldHomePos { get; }
Property Value
Type Description
Vector2i

YieldPercent

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

Implements

ITickable
System.IComparable
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾