set method

T set(
  1. int x,
  2. int y,
  3. T value
)

Set the tile at column x row y to value. Returns the old tile at that position.

Implementation

T set(int x, int y, T value) => _tiles.set(x, y, value);