19 lines
393 B
C#
19 lines
393 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
[Serializable]
|
|
public class Result
|
|
{
|
|
public string moduleName;
|
|
public float totalScore;
|
|
public List<Step> steps = new List<Step>();
|
|
public float SumScore()
|
|
{
|
|
totalScore = 0;
|
|
for (int i = 0; i < steps.Count; i++)
|
|
{
|
|
totalScore += steps[i].score;
|
|
}
|
|
return totalScore;
|
|
}
|
|
} |