mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-24 23:37:41 +01:00
Added SoccerKashdan as supported Tiebreak
This commit is contained in:
parent
b90036a8ff
commit
bfa8e062f3
@ -16,6 +16,7 @@ class Tiebreak extends Enum
|
||||
const BuchholzCut = "Buchholz Cut";
|
||||
const Sonneborn = "Sonneborn-Berger";
|
||||
const Kashdan = "Kashdan";
|
||||
const SoccerKashdan = "Soccer Kashdan";
|
||||
const Cumulative = "Cumulative";
|
||||
const Between = "Mutual Result";
|
||||
const Koya = "Koya";
|
||||
|
@ -314,6 +314,9 @@ class Tournament extends Tiebreaks
|
||||
case Tiebreak::Kashdan:
|
||||
return $this->calculateKashdan($player);
|
||||
break;
|
||||
case Tiebreak::SoccerKashdan:
|
||||
return $this->calculateSoccerKashdan($player);
|
||||
break;
|
||||
case Tiebreak::Cumulative:
|
||||
return $this->calculateCumulative($player);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user