padLeft method

GridWorld padLeft(
  1. int n
)

Copy this, adding padding on left.

Implementation

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