mirror of
https://github.com/furyfire/trueskill.git
synced 2025-03-20 16:48:04 +00:00
First TwoPlayerTrueSkillCalculator unit test passed
This commit is contained in:
21
PHPSkills/TeamsRange.php
Normal file
21
PHPSkills/TeamsRange.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
namespace Moserware\Skills;
|
||||
|
||||
require_once(dirname(__FILE__) . "/Numerics/Range.php");
|
||||
|
||||
use Moserware\Numerics\Range;
|
||||
|
||||
class TeamsRange extends Range
|
||||
{
|
||||
public function __construct($min, $max)
|
||||
{
|
||||
parent::__construct($min, $max);
|
||||
}
|
||||
|
||||
protected static function create($min, $max)
|
||||
{
|
||||
return new TeamsRange($min, $max);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user