public function addLoad($code, $priority = 5, $inline = false) {
        $load = new Load();
        $load->setCode($code)
             ->setPriority($priority)
             ->setInline($inline);
        $this->builder->addEvent($load);
        return $this;
    }
public function addLoad($code, $priority = 5, $inline = false) {
        $load = new Load();
        $load->setCode($code)
             ->setPriority($priority)
             ->setInline($inline);
        $this->builder->addEvent($load);
        return $this;
    }
public function addLoad ( $ code , $ priority = 5 , $ inline = false ) { $ load = new Load ( ) ; $ load -> setCode ( $ code ) -> setPriority ( $ priority ) -> setInline ( $ inline ) ; $ this -> builder -> addEvent ( $ load ) ; return $ this ; }
Adds a Load pseudo event to the ManiaScript.
@param string $code The code to be executed.
@param int $priority The priority, 0 for most important, bigger for less important.
@param boolean $inline Whether this event is handled inline, i.e. without wrapping function.
@return $this Implementing fluent interface.
Adds a Load pseudo event to the ManiaScript .