public List<XYLocation> getPositions() {
List<XYLocation> retVal = new List<XYLocation>();
for (int i = 0; i < 9; i++) {
int absPos = getPositionOf(i);
XYLocation loc = new XYLocation(getXCoord(absPos),
getYCoord(absPos));
retVal.Add(loc);
}
return retVal;
}