Class Organism
Inheritance
System.Object
Organism
Implements
System.IComparable
Assembly: Eco.Simulation.dll
Syntax
public abstract class Organism : Tickable, ITickable, IComparable
Constructors
Organism()
Declaration
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
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
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
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
YieldPercent
Declaration
public float YieldPercent { get; set; }
Property Value
Type |
Description |
System.Single |
|
Implements
System.IComparable