appendRight method

GridWorld appendRight(
  1. GridWorld other
)

Append the other world to the right of this one.

Fill empty lines as needed on the bottom of the shorter of the two. No attempt to center the shorter one.

Implementation

GridWorld appendRight(GridWorld other) => paste(0, _numCols, other);