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