get method

Cell get(
  1. int x,
  2. int y
)

Implementation

Cell get(int x, int y) {
  if (!_inBounds(x, y)) return Cell.empty;
  return _cells[y * width + x];
}