mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-18 20:04:28 +00:00
Moved UnitTests to tests/ and Skills to src/
This commit is contained in:
21
src/PlayersRange.php
Normal file
21
src/PlayersRange.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
namespace Moserware\Skills;
|
||||
|
||||
require_once(dirname(__FILE__) . "/Numerics/Range.php");
|
||||
|
||||
use Moserware\Numerics\Range;
|
||||
|
||||
class PlayersRange extends Range
|
||||
{
|
||||
public function __construct($min, $max)
|
||||
{
|
||||
parent::__construct($min, $max);
|
||||
}
|
||||
|
||||
protected static function create($min, $max)
|
||||
{
|
||||
return new PlayersRange($min, $max);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user