GTileMap.opIndexOpAssign

void opIndexOpAssign(IStr op)(T rhs, Sz row, Sz col, Sz layerId = 0) @trusted

Applies a compound assignment operator to the tile id at the given row, column, and layer.

void opIndexOpAssign(IStr op)(T rhs, IVec2 position, Sz layerId = 0)

Applies a compound assignment operator to the tile id at the given grid position and layer.