getCell method
Gets the cell at (x, y). Returns null if coordinates are out of bounds.
Implementation
@override
Cell? getCell(int x, int y) {
if (x < 0 || x >= bounds.width || y < 0 || y >= bounds.height) return null;
return parent.getCell(bounds.x + x, bounds.y + y);
}