public bool GetNextPosX(BoardSpace target) { if (target == this) { return(true); } else if (!PosX) { return(false); } else { return(PosX.GetNextPosX(target)); } }