public function addFirstLoop($code, $priority = 5, $inline = false) {
        $firstLoop = new FirstLoop();
        $firstLoop->setCode($code)
                  ->setPriority($priority)
                  ->setInline($inline);
        $this->builder->addEvent($firstLoop);
        return $this;
    }
public function addFirstLoop($code, $priority = 5, $inline = false) {
        $firstLoop = new FirstLoop();
        $firstLoop->setCode($code)
                  ->setPriority($priority)
                  ->setInline($inline);
        $this->builder->addEvent($firstLoop);
        return $this;
    }
public function addFirstLoop ( $ code , $ priority = 5 , $ inline = false ) { $ firstLoop = new FirstLoop ( ) ; $ firstLoop -> setCode ( $ code ) -> setPriority ( $ priority ) -> setInline ( $ inline ) ; $ this -> builder -> addEvent ( $ firstLoop ) ; return $ this ; }
Adds a FirstLoop 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 FirstLoop pseudo event to the ManiaScript .