public function score($team, $points = 1)
    {
        if (isset($this->teams[$team])) {
            $this->teams[$team]->updateScore($points);
        }

        $this->drawScoreboard();
        $this->drawRainbow();
        $this->drawCat($team);
    }
public function score($team, $points = 1)
    {
        if (isset($this->teams[$team])) {
            $this->teams[$team]->updateScore($points);
        }

        $this->drawScoreboard();
        $this->drawRainbow();
        $this->drawCat($team);
    }
public function score ( $ team , $ points = 1 ) { if ( isset ( $ this -> teams [ $ team ] ) ) { $ this -> teams [ $ team ] -> updateScore ( $ points ) ; } $ this -> drawScoreboard ( ) ; $ this -> drawRainbow ( ) ; $ this -> drawCat ( $ team ) ; }
Updates the score for a team and makes another iteration in the
scoreboard animation.

@param string $team    The name of the team
@param integer $points The number of points to add to the team's score.
Updates the score for a team and makes another iteration in the scoreboard animation .