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); }
public void Increment(PointSystem.ITotal with) { this.points += ((PointTotal)with).points; this.goalaverage += ((PointTotal)with).goalaverage; }
public RankingEntry(Club club, PointSystem.ITotal points) { this.club = club; this.points = points; }
public void Increment(PointSystem.ITotal with) { this.points += ((TotalMock)with).points; }