padBottom method

GridWorld padBottom(
  1. int n
)

Copy this, adding padding on bottom.

Implementation

GridWorld padBottom(int n) =>
    GridWorld.empty(_numRows + n, _numCols).._paste(0, 0, this);