Show / Hide Table of Contents

Class Herd

Inheritance
System.Object
Herd
Namespace: Eco.Simulation.Animals
Assembly: Eco.Simulation.dll
Syntax
public class Herd : Object

Constructors

Herd()

Declaration
public Herd()

Fields

Animals

Declaration
public ThreadSafeList<Animal> Animals
Field Value
Type Description
ThreadSafeList<Animal>

AvgPos

Declaration
public Vector3 AvgPos
Field Value
Type Description
System.Numerics.Vector3

ControllingClientID

Declaration
public int ControllingClientID
Field Value
Type Description
System.Int32

Id

Declaration
public int Id
Field Value
Type Description
System.Int32

Species

Declaration
public AnimalSpecies Species
Field Value
Type Description
AnimalSpecies

Properties

Controller

Declaration
public IWorldObserver Controller { get; }
Property Value
Type Description
IWorldObserver

ControllerName

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

Methods

Add(Animal)

Declaration
public void Add(Animal animal)
Parameters
Type Name Description
Animal animal

UpdatePos()

Declaration
public void UpdatePos()
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾