cellBounds method

Rect cellBounds(
  1. int cellX,
  2. int cellY
)

Converts grid cell coordinates to world bounds.

Given grid cell coordinates (x, y), returns the bounding rectangle in world/pixel coordinates.

Implementation

Rect cellBounds(int cellX, int cellY) => _grid.cellBounds(cellX, cellY);