The control behavior for an entity. Inserters have logistic network and circuit network behavior logic, lamps have circuit logic and so on. This is an abstract base class that concrete control behaviors inherit.
An control reference becomes invalid once the control behavior is removed or the entity (see LuaEntity) it resides in is destroyed.
get_circuit_network(wire, circuit_connector) → LuaCircuitNetwork
Wire color of the network connected to this entity.
The connector to get circuit network for. Must be specified for entities with more than one circuit network connector.
The circuit network or nil.