public function earn_points($points)
    {
        $this->score += $points;
        $this->say(sprintf(
            __("earns %s points"),
            $points
        ));
    }
public function earn_points($points)
    {
        $this->score += $points;
        $this->say(sprintf(
            __("earns %s points"),
            $points
        ));
    }
public function earn_points ( $ points ) { $ this -> score += $ points ; $ this -> say ( sprintf ( __ ( "earns %s points" ) , $ points ) ) ; }
Earn points.

@param $points
Earn points .