C# Class CommInputNode, Artificial-Life-Simulator

Inheritance: Node
Afficher le fichier Open project: BLayman/Artificial-Life-Simulator Class Usage Examples

Méthodes publiques

Свойство Type Description
bitIndex int
commProperty string
creature Creature,

Méthodes publiques

Méthode Description
updateValue ( ) : void

Will check if a creature is at this neighbor, and get it's comm output, or otherwise sets value to 0.

Method Details

updateValue() public méthode

Will check if a creature is at this neighbor, and get it's comm output, or otherwise sets value to 0.
public updateValue ( ) : void
Résultat void

Property Details

bitIndex public_oe property

Stores index of specific bit to convert to 0 or 1 from a particular property of the CommSignal.
public int bitIndex
Résultat int

commProperty public_oe property

stores which property to access in CommSignal
public string commProperty
Résultat string

creature public_oe property

Stores reference to creature for getting access to neighbors
public Creature, creature
Résultat Creature,