예제 #1
0
파일: Gate.cs 프로젝트: colincapurso/Logx
 public ButtonGate(int x, int y)
     : base(x, y)
 {
     inputs = new Gate[] { null, null };
     HasInput = false;
     renderCode = 4;
 }
예제 #2
0
파일: Gate.cs 프로젝트: colincapurso/Logx
 public BulbGate(int x, int y)
     : base(x, y)
 {
     inputs = new Gate[] { null };
     renderCode = 7;
 }
예제 #3
0
파일: Gate.cs 프로젝트: colincapurso/Logx
 public OnGate(int x, int y)
     : base(x, y)
 {
     inputs = new Gate[] { null };
     HasInput = false;
     renderCode = 2;
 }
예제 #4
0
파일: Gate.cs 프로젝트: colincapurso/Logx
 public XorGate(int x, int y)
     : base(x, y)
 {
     inputs = new Gate[] { null, null };
     renderCode = 5;
 }
예제 #5
0
파일: Gate.cs 프로젝트: colincapurso/Logx
 public NotGate(int x, int y)
     : base(x, y)
 {
     inputs = new Gate[] { null };
     renderCode = 9;
 }
예제 #6
0
파일: Gate.cs 프로젝트: colincapurso/Logx
 public LinkGate(int x, int y)
     : base(x, y)
 {
     inputs = new Gate[] { null };
     renderCode = 10;
 }
예제 #7
0
파일: Gate.cs 프로젝트: colincapurso/Logx
 public EdgeGate(int x, int y)
     : base(x, y)
 {
     inputs = new Gate[] { null };
     renderCode = 12;
 }
예제 #8
0
파일: Gate.cs 프로젝트: colincapurso/Logx
 public AndGate(int x, int y)
     : base(x, y)
 {
     inputs = new Gate[] { null, null };
     renderCode = 0;
 }
예제 #9
0
파일: Gate.cs 프로젝트: colincapurso/Logx
 public ClockGate(int x, int y, int clockSpeed = 100)
     : base(x, y)
 {
     inputs = new Gate[] { null, null };
     renderCode = 11;
     lastChange = DateTime.Now;
     this.clockSpeed = clockSpeed;
 }