public void SetMiscTile(int x, int y, MiscPiece value) { if (x < 0 || x >= size.x || y < 0 || y >= size.y) { return; } misc[x, y] = value; }
public void SetMiscTile(Coord c, MiscPiece value) { SetMiscTile(c.x, c.y, value); }