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