Properties constructor

Properties({
  1. Cell? bind,
  2. Receptor<Cell, Signal, Signal> receptor = Receptor.unchanged,
  3. TestObject<Cell> test = TestObject.passed,
  4. MapObject? mapObject,
  5. Synapses<Signal, Cell> synapses = Synapses.enabled,
})

Constructs a Properties object with optional parameters.

Parameters:

  • bind: Optional Cell to bind to (creates parent-child relationship)
  • receptor: How this cell processes incoming signals (default: Receptor.unchanged)
  • test: TestObject that validates operations (default: TestObject.passed)
  • synapses: Whether this cell can be linked to others (default: Linkable.enabled)

Implementation

Properties({
  Cell? bind,
  Receptor receptor = Receptor.unchanged,
  TestObject test = TestObject.passed,
  MapObject? mapObject,
  Synapses synapses = Synapses.enabled
}) : record = (bind: bind, receptor: receptor, test: test, mapObject: mapObject, synapses: synapses);