C# Класс CommInputNode, Artificial-Life-Simulator

Наследование: Node
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
bitIndex int
commProperty string
creature Creature,

Открытые методы

Метод Описание
updateValue ( ) : void

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

Описание методов

updateValue() публичный Метод

Will check if a creature is at this neighbor, and get it's comm output, or otherwise sets value to 0.
public updateValue ( ) : void
Результат void

Описание свойств

bitIndex публичное свойство

Stores index of specific bit to convert to 0 or 1 from a particular property of the CommSignal.
public int bitIndex
Результат int

commProperty публичное свойство

stores which property to access in CommSignal
public string commProperty
Результат string

creature публичное свойство

Stores reference to creature for getting access to neighbors
public Creature, creature
Результат Creature,