operator []= method

void operator []=(
  1. Vec2 position,
  2. T value
)

Set the tile at position to value

Implementation

void operator []=(Vec2 position, T value) => _tiles[position] = value;