public bool InBounds(int x, int y, int z = 1) { return !(y < 1 || y >= Height - 1 || x < 1 || x >= Width - 1 || z > 1 || z < 0); }