/**
  * Creates a L4D2Stats object by calling the super constructor with the game
  * name "l4d2"
  */
 public function __construct($steamId)
 {
     parent::__construct($steamId, 'l4d2');
 }
 /**
  * Creates a <var>L4D2Stats</var> object by calling the super constructor
  * with the game name <var>"l4d2"</var>
  *
  * @param string $steamId The custom URL or 64bit Steam ID of the user
  */
 public function __construct($steamId)
 {
     parent::__construct($steamId, 'l4d2');
     $this->damagePercentages = array('melee' => (double) $this->xmlData->stats->weapons->meleePctDmg, 'pistols' => (double) $this->xmlData->stats->weapons->pistolsPctDmg, 'rifles' => (double) $this->xmlData->stats->weapons->bulletsPctDmg, 'shotguns' => (double) $this->xmlData->stats->weapons->shellsPctDmg);
 }