C# Class Creature, evosim

Inheritance: MonoBehaviour
Exibir arquivo Open project: clomax/evosim Class Usage Examples

Public Properties

Property 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

Public Methods

Method 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

Method Description
RandomDirection ( ) : void
Sine ( float freq, float amplitude, float phase_shift ) : float
metabolise ( ) : void
setupLimbs ( ) : void

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

getEnergy() public method

public getEnergy ( ) : double
return double

invokechromosome() public method

public invokechromosome ( Chromosome gs ) : void
gs Chromosome
return void

kill() public method

public kill ( ) : void
return void

setEnergy() public method

public setEnergy ( double n ) : void
n double
return void

subtractEnergy() public method

public subtractEnergy ( double n ) : void
n double
return void

updateState() public method

public updateState ( ) : void
return void

Property Details

age public_oe property

public double age
return double

chromosome public_oe property

public Chromosome chromosome
return Chromosome

crt_count public_oe property

public CreatureCount crt_count
return CreatureCount

energy public_oe property

public double energy
return double

eye public_oe property

public GameObject eye
return GameObject

eye_script public_oe property

public Eye eye_script
return Eye

food_eaten public_oe property

public int food_eaten
return int

genital public_oe property

public GameObject genital
return GameObject

line_of_sight public_oe property

public double line_of_sight
return double

mouth public_oe property

public GameObject mouth
return GameObject

offspring public_oe property

public int offspring
return int

root public_oe property

public GameObject root
return GameObject

root_script public_oe property

public Root root_script
return Root

state public_oe property

public State state
return State

target_direction public_oe property

public Vector3 target_direction
return Vector3