gridLength static method

int gridLength(
  1. LevelConfig c
)

Implementation

static int gridLength(LevelConfig c) => c.rows * c.cols;