コード例 #1
0
ファイル: Trial.cs プロジェクト: caomw/StopGuessing
        public int CompareTo(Trial other, int condition)
        {
            float myScore     = GetScoreForCondition(condition);
            float othersScore = other.GetScoreForCondition(condition);

            if (myScore < othersScore)
            {
                return(-1);
            }
            if (myScore > othersScore)
            {
                return(1);
            }
            return(0);
        }