![]() |
Nano Brain for Unity v0.1
|
Class to manage an array of nuclei for an IReceptor.
Would love to get rid of this class.
Public Member Functions | |
| NucleusArray (Nucleus nucleus) | |
| Create a new NucleusArray with the given nucleus. | |
| NucleusArray (int size) | |
| Create a new NucleusArray of the given size. | |
| virtual void | ProcessStimulus (int thingId, Vector3 inputValue, string thingName=null) |
| Process an external stimulus. | |
Public Attributes | |
| Dictionary< int, Nucleus > | thingReceivers = new() |
Properties | |
| Nucleus[] | nuclei [get, set] |
| NanoBrain.NucleusArray.NucleusArray | ( | Nucleus | nucleus | ) |
Create a new NucleusArray with the given nucleus.
| nucleus | The Nucleus to put in the NucleusArray |
This results in an nucleus array of size 1
| NanoBrain.NucleusArray.NucleusArray | ( | int | size | ) |
Create a new NucleusArray of the given size.
| size | The size of the nucluesArray |
|
virtual |
Process an external stimulus.
| inputValue | The value of the stimulus |
| thingId | The id of the thing causing the stimulus |
| thingName | The name of the thing causing the stimulus |