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