/// <summary> /// Creates <c>rows</c>. /// </summary> /// <param name="rowAmount">How many <c>rows</c>?</param> private void CreateRows(int rowAmount) { for (var i = 0; i < rowAmount; i++) { _rowArray[i] = new Row(i); } }
public void UpdateRow(Row updatedRow) { //BUG: Colours get black - why? for (var i = 0; i < _rowArray.Length; i++) { if (_rowArray[i].Active) { _rowArray[i] = updatedRow; break; } } }