public void SetSquare(ref SquareInfo rhs) { xCoord = rhs.xCoord; yCoord = rhs.yCoord; type = rhs.type; }
public SquareInfo(ref SquareInfo data) { xCoord = data.xCoord; yCoord = data.yCoord; type = data.type; }