C# Class Creature, evosim

Inheritance: MonoBehaviour
Afficher le fichier Open project: clomax/evosim Class Usage Examples

Méthodes publiques

Свойство Type Description
age double
chromosome Chromosome
crt_count CreatureCount
energy double
eye GameObject
eye_script Eye
food_eaten int
genital GameObject
line_of_sight double
mouth GameObject
offspring int
root GameObject
root_script Root
state State
target_direction Vector3

Méthodes publiques

Méthode Description
FixedUpdate ( ) : void
Start ( ) : void
Update ( ) : void
getEnergy ( ) : double
invokechromosome ( Chromosome gs ) : void
kill ( ) : void
setEnergy ( double n ) : void
subtractEnergy ( double n ) : void
updateState ( ) : void

Private Methods

Méthode Description
RandomDirection ( ) : void
Sine ( float freq, float amplitude, float phase_shift ) : float
metabolise ( ) : void
setupLimbs ( ) : void

Method Details

FixedUpdate() public méthode

public FixedUpdate ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

getEnergy() public méthode

public getEnergy ( ) : double
Résultat double

invokechromosome() public méthode

public invokechromosome ( Chromosome gs ) : void
gs Chromosome
Résultat void

kill() public méthode

public kill ( ) : void
Résultat void

setEnergy() public méthode

public setEnergy ( double n ) : void
n double
Résultat void

subtractEnergy() public méthode

public subtractEnergy ( double n ) : void
n double
Résultat void

updateState() public méthode

public updateState ( ) : void
Résultat void

Property Details

age public_oe property

public double age
Résultat double

chromosome public_oe property

public Chromosome chromosome
Résultat Chromosome

crt_count public_oe property

public CreatureCount crt_count
Résultat CreatureCount

energy public_oe property

public double energy
Résultat double

eye public_oe property

public GameObject eye
Résultat GameObject

eye_script public_oe property

public Eye eye_script
Résultat Eye

food_eaten public_oe property

public int food_eaten
Résultat int

genital public_oe property

public GameObject genital
Résultat GameObject

line_of_sight public_oe property

public double line_of_sight
Résultat double

mouth public_oe property

public GameObject mouth
Résultat GameObject

offspring public_oe property

public int offspring
Résultat int

root public_oe property

public GameObject root
Résultat GameObject

root_script public_oe property

public Root root_script
Résultat Root

state public_oe property

public State state
Résultat State

target_direction public_oe property

public Vector3 target_direction
Résultat Vector3