void setAttributes(int index, int value) { _data[index * _cellSize + _cellAttributes] = value; version++; }