Example #1
0
 public void SetRight(SnailfishNumber n)
 {
     RightNumber                = n;
     RightNumber.Parent         = this;
     RightNumber.NumberPosition = PairPosition.Right;
 }
Example #2
0
 public SnailfishNumberPair(SnailfishNumber n1, SnailfishNumber n2)
 {
     SetLeft(n1);
     SetRight(n2);
 }
Example #3
0
 public void SetLeft(SnailfishNumber n)
 {
     LeftNumber                = n;
     LeftNumber.Parent         = this;
     LeftNumber.NumberPosition = PairPosition.Left;
 }