コード例 #1
0
 public Ranking(PointSystem system, Club[] clubs)
 {
     this.system = system;
     this.entries = new RankingEntry[clubs.Length];
     for (int i = 0; i < clubs.Length; i++)
         this.entries[i] = new RankingEntry(clubs[i], system.InitialPoints);
 }
コード例 #2
0
 public RankingEntry(Club club, PointSystem.ITotal points)
 {
     this.club = club;
     this.points = points;
 }
コード例 #3
0
 public FrenchLeague1PointSystem(FrenchLeague1PointSystem theInstance,ITotal initialPoints,PointSystem Instance)
 {
     this.theInstance = theInstance;
     this.Instance = Instance;
 }
コード例 #4
0
 public void Increment(PointSystem.ITotal with)
 {
     this.points += ((TotalMock)with).points;
 }