コード例 #1
0
ファイル: MatchOutcome.cs プロジェクト: pochp/fooziespublic
 public bool IsSame(MatchOutcome _other)
 {
     if (P1_Scores != _other.P1_Scores)
     {
         return(false);
     }
     if (P2_Scores != _other.P2_Scores)
     {
         return(false);
     }
     if (Outcome != _other.Outcome)
     {
         return(false);
     }
     return(true);
 }
コード例 #2
0
ファイル: MatchOutcome.cs プロジェクト: pochp/fooziespublic
        public bool IsEnd()
        {
            MatchOutcome notDone = new MatchOutcome();

            return(!IsSame(notDone));
        }