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