1
0
mirror of https://github.com/furyfire/trueskill.git synced 2025-03-21 00:58:05 +00:00

Another pass at fixing up references

This commit is contained in:
Jeff Moser
2010-09-30 08:25:31 -04:00
parent 5368f7528e
commit 803a0816a8
28 changed files with 168 additions and 103 deletions

@ -12,9 +12,10 @@ class RatingContainer
$this->_playerToRating = new HashMap();
}
public function getRating($player)
public function &getRating($player)
{
return $this->_playerToRating->getValue($player);
$rating = &$this->_playerToRating->getValue($player);
return $rating;
}
public function setRating($player, $rating)