public void UpdateCurrentRunWorldRecordDifference(int currentPhase, TrackerHP currentRunWorldRecordRunHPDifference) { Rows[currentPhase].Cells[TIME_DIFFERENCE_COLUMN].Style = new DataGridViewCellStyle { ForeColor = currentRunWorldRecordRunHPDifference.TextColor }; Rows[currentPhase].Cells[TIME_DIFFERENCE_COLUMN].Value = currentRunWorldRecordRunHPDifference.ToString(); }
public void UpdateCheckPointDataCells(CheckPointDataTable checkPointDataTable) { for (int i = 0; i < checkPointDataTable.PhaseCount - 1; i++) { if (checkPointDataTable.CheckPointTypes[i] == DataType.kDataTypeTime) { TrackerTime checkPointData = (TrackerTime)checkPointDataTable.CheckPointDatas[i]; Rows[i].Cells[CHECKPOINT_NAME_COLUMN].Value = checkPointData.CheckPointName; Rows[i].Cells[WORLD_RECORD_COLUMN].Value = checkPointData.ToString(); } else { TrackerHP checkPointData = (TrackerHP)checkPointDataTable.CheckPointDatas[i]; Rows[i].Cells[CHECKPOINT_NAME_COLUMN].Value = checkPointData.CheckPointName; Rows[i].Cells[WORLD_RECORD_COLUMN].Value = checkPointData.ToString(); } } Rows[checkPointDataTable.PhaseCount - 1].Cells[CHECKPOINT_NAME_COLUMN].Value = "Clear"; Rows[checkPointDataTable.PhaseCount - 1].Cells[WORLD_RECORD_COLUMN].Value = checkPointDataTable.WorldRecordClearTime.ToString(); }
public void UpdateCurrentRunData(int currentPhase, int bossTotalHP, int totalDamageDone) { TrackerHP currentRunTrackerHP = new TrackerHP(bossTotalHP, totalDamageDone, false); Rows[currentPhase].Cells[CURRENT_RUN_COLUMN].Value = currentRunTrackerHP.ToString(); }