Naming tweak

This commit is contained in:
Jeff Moser
2010-10-14 21:51:43 -04:00
parent 110463ad49
commit 455f2b3061
66 changed files with 24 additions and 26 deletions

22
Skills/Elo/KFactor.php Normal file
View File

@ -0,0 +1,22 @@
<?php
namespace Moserware\Skills\Elo;
class KFactor
{
const DEFAULT_KFACTOR = 24;
private $_value;
public function __construct($exactKFactor = self::DEFAULT_KFACTOR)
{
$this->_value = $exactKFactor;
}
public function getValueForRating($rating)
{
return $this->_value;
}
}
?>