コード例 #1
0
 public ClockState(bool[] pins, int[] posit, bool rightSideUp, ClockPuzzle p) : base(p)
 {
     _puzzle      = p;
     _pins        = pins;
     _posit       = posit;
     _rightSideUp = rightSideUp;
 }
コード例 #2
0
 public ClockState(ClockPuzzle p) : base(p)
 {
     _puzzle      = p;
     _pins        = new[] { false, false, false, false };
     _posit       = new[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
     _rightSideUp = true;
 }