Class AnimalSpecies
Inheritance
System.Object
AnimalSpecies
Assembly: Eco.Simulation.dll
Syntax
public abstract class AnimalSpecies : Species, IController, IViewController, IHasUniversalID, IStat
Constructors
AnimalSpecies()
Declaration
protected AnimalSpecies()
Fields
BrainType
Declaration
Field Value
Type |
Description |
System.Type |
|
OverrideDesiredSpeed
Declaration
public float OverrideDesiredSpeed
Field Value
Type |
Description |
System.Single |
|
OverrideRunningSpeed
Declaration
public float OverrideRunningSpeed
Field Value
Type |
Description |
System.Single |
|
Properties
AttackRange
Declaration
public float AttackRange { get; set; }
Property Value
Type |
Description |
System.Single |
|
CanSwimNearCoast
Declaration
public bool CanSwimNearCoast { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ChanceToAttack
Declaration
public float ChanceToAttack { get; set; }
Property Value
Type |
Description |
System.Single |
|
ClimbHeight
Declaration
public short ClimbHeight { get; set; }
Property Value
Type |
Description |
System.Int16 |
|
CurrentPopulation
Declaration
public override int CurrentPopulation { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Damage
Declaration
public float Damage { get; set; }
Property Value
Type |
Description |
System.Single |
|
DelayBetweenAttacksRangeSec
Declaration
public Range DelayBetweenAttacksRangeSec { get; set; }
Property Value
DetectRange
Declaration
public float DetectRange { get; }
Property Value
Type |
Description |
System.Single |
|
FearFactor
Declaration
public float FearFactor { get; set; }
Property Value
Type |
Description |
System.Single |
|
FleePlayers
Declaration
public bool FleePlayers { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
FloatOnSurface
Declaration
public bool FloatOnSurface { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Flying
Declaration
public bool Flying { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
FollowRange
Declaration
public float FollowRange { get; }
Property Value
Type |
Description |
System.Single |
|
FoodSources
Declaration
public List<Type> FoodSources { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<System.Type> |
|
GroupInPacks
Declaration
public bool GroupInPacks { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
HeadDistance
Declaration
public float HeadDistance { get; set; }
Property Value
Type |
Description |
System.Single |
|
Health
Declaration
public float Health { get; set; }
Property Value
Type |
Description |
System.Single |
|
IsFishable
Declaration
public bool IsFishable { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsPredator
Declaration
public bool IsPredator { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
MinRotationToSlowDown
Declaration
public float MinRotationToSlowDown { get; set; }
Property Value
Type |
Description |
System.Single |
|
PopulationLayer
Declaration
public string PopulationLayer { get; }
Property Value
Type |
Description |
System.String |
|
RotationSpeed
Declaration
public float RotationSpeed { get; set; }
Property Value
Type |
Description |
System.Single |
|
Speed
Declaration
public float Speed { get; set; }
Property Value
Type |
Description |
System.Single |
|
Swimming
Declaration
public bool Swimming { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
TimeAttackToIdle
Declaration
public float TimeAttackToIdle { get; set; }
Property Value
Type |
Description |
System.Single |
|
TimeLayToStand
Declaration
public float TimeLayToStand { get; set; }
Property Value
Type |
Description |
System.Single |
|
TimeSitToStand
Declaration
public float TimeSitToStand { get; set; }
Property Value
Type |
Description |
System.Single |
|
TimeStandToLay
Declaration
public float TimeStandToLay { get; set; }
Property Value
Type |
Description |
System.Single |
|
TimeStandToSit
Declaration
public float TimeStandToSit { get; set; }
Property Value
Type |
Description |
System.Single |
|
TimeWakeUp
Declaration
public float TimeWakeUp { get; set; }
Property Value
Type |
Description |
System.Single |
|
WanderingRotationSpeed
Declaration
public float WanderingRotationSpeed { get; set; }
Property Value
Type |
Description |
System.Single |
|
WanderingSpeed
Declaration
public float WanderingSpeed { get; set; }
Property Value
Type |
Description |
System.Single |
|
Methods
Eats(Species)
Declaration
public bool Eats(Species species)
Parameters
Type |
Name |
Description |
Species |
species |
|
Returns
Type |
Description |
System.Boolean |
|
GetErrorDescription()
Declaration
public override string GetErrorDescription()
Returns
Type |
Description |
System.String |
|
Overrides
GetTraversalData(Boolean)
Get speeds in current traversal to apply it on an animal
Declaration
public TraversalData GetTraversalData(bool wandering)
Parameters
Type |
Name |
Description |
System.Boolean |
wandering |
|
Returns
IsValidSpawnPathPos(Vector3i)
Declaration
public virtual bool IsValidSpawnPathPos(Vector3i pathPos)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements