public CircuitConnection(EditorCircuitActor circuitActor, EditorActor actor, Gate gate, string type) { _circuitActor = circuitActor; _actor = actor; _gate = gate; _type = type; }
public CircuitOutputConnection(EditorCircuitActor circuitActor, EditorActor actor, Gate gate, GameEventType onEnabledEvent, GameEventType onDisabledEvent) : base(circuitActor, actor, gate, "output") { _onEnabledEvent = onEnabledEvent; _onDisabledEvent = onDisabledEvent; }
public CircuitInputConnection(EditorCircuitActor circuitActor, EditorActor actor, Gate gate, GameEventType listenToEvent) : base(circuitActor, actor, gate, "input") { _listenToEvent = listenToEvent; }