public void GetXAndY(int absoluteIndex, out int x, out int y) { y = absoluteIndex / this.Width; x = absoluteIndex % width; }