SignalReaction typedef

SignalReaction = void Function(SignalNetwork net, IVec3 cell, int id)

What a block does when the network around it changes: read SignalNetwork.isPowered at cell and write the world.

Implementation

typedef SignalReaction = void Function(SignalNetwork net, IVec3 cell, int id);