C# Class CommInputNode, Artificial-Life-Simulator

Inheritance: Node
显示文件 Open project: BLayman/Artificial-Life-Simulator Class Usage Examples

Public Properties

Property Type Description
bitIndex int
commProperty string
creature Creature,

Public Methods

Method 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 method

Will check if a creature is at this neighbor, and get it's comm output, or otherwise sets value to 0.
public updateValue ( ) : void
return 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
return int

commProperty public_oe property

stores which property to access in CommSignal
public string commProperty
return string

creature public_oe property

Stores reference to creature for getting access to neighbors
public Creature, creature
return Creature,