@pragma('vm:prefer-inline') bool inBounds2dScreen(double x, double y) => x >= 0 && x < width * cellSize && y >= 0 && y < height * cellSize;