ColorRelay

ColorRelay

Re-broadcasts a different color event when it receives its own color event, acting as a color-channel multiplexer.

Typical use: fan out one signal to multiple independent listeners on different color channels, or chain together sequences of color-triggered effects without wiring every cell to the same color.

Constructor

new ColorRelay()

Source:

Extends

Classes

ColorRelay

Methods

getProxiedTerrain()

Description:
  • Return the terrain being wrapped (TerrainProxy interface).

Source:
Overrides:

onColorEventInternal()

Description:
  • Fires ColorRelay#relayTo on the board when the received color matches ColorRelay#color. Preserves the original origin cell of the triggering event (matching Java, which relays with origin rather than this cell) so chained relays don't lose track of where the event actually started.

Source: