GTileMap.opIndexAssign

void opIndexAssign(short rhs, Sz row, Sz col, Sz layerId = 0) @trusted

Sets the tile id at the given row, column, and layer.

void opIndexAssign(short rhs, IVec2 position, Sz layerId = 0)

Sets the tile id at the given grid position and layer.