Changed paragraph about tiebreaks

Jeroen De Meerleer 2019-05-28 21:30:15 +02:00
parent 0a15050827
commit b7a5b8649b

@ -2,11 +2,7 @@ You can show a ranking by using the `Tournament::getRanking()` method.
First, start by importing your sws-file. Using the resulting Sws-object you can navigate to the tournament and call the `Tournament::getRanking()` method.
The `Tournament::getRanking()` method takes 1 optional boolean parameter. If `true` libpairtwo will provide a ranking using the American System. If `false` or not provided it will use the normal ranking. In any case the shifting points from the sws-file will be applied.
**Todo: Implement shifting points**
`Tournament::getRanking()` returns an array of Player objects. This allows you to iterate through the array using foreach and display the required fields.
`Tournament::getRanking()` returns an array of Player objects. This allows you to iterate through the array using foreach and display the required fields. `Tournament::getRanking();` takes account of the tiebreaks. The order of tiebreaks gets loaded from your pairing file. The tiebreaks are calculated when getRanking() is called. Only the required tiebreaks are calculated. If tiebreak 1 is enough to provide the full ranking, tiebreak 2 does not get calculated.
## Example