public function parseReplay() { if (!$this->init) { if ($this->debug) { $this->debug("Tried to use parseReplay without initializing"); } return false; } if (class_exists("SC2Replay") || (include 'sc2replay.php')) { $tmp = new SC2Replay(); if ($this->debug) { $tmp->setDebug($this->debug); } $tmp->parseReplay($this); return $tmp; } else { if ($this->debug) { $this->debug("Unable to find or load class SC2Replay"); } return false; } }