public function build() {
        $this->prepareHandlers();
        $this->renderedCode = new RenderedCode();
        $this->renderedCode->setDirectives($this->buildDirectives())
                           ->setGlobalCode($this->buildGlobalCode())
                           ->setMainFunction($this->buildMainFunction());
        return $this;
    }
public function build() {
        $this->prepareHandlers();
        $this->renderedCode = new RenderedCode();
        $this->renderedCode->setDirectives($this->buildDirectives())
                           ->setGlobalCode($this->buildGlobalCode())
                           ->setMainFunction($this->buildMainFunction());
        return $this;
    }
public function build ( ) { $ this -> prepareHandlers ( ) ; $ this -> renderedCode = new RenderedCode ( ) ; $ this -> renderedCode -> setDirectives ( $ this -> buildDirectives ( ) ) -> setGlobalCode ( $ this -> buildGlobalCode ( ) ) -> setMainFunction ( $ this -> buildMainFunction ( ) ) ; return $ this ; }
Builds the ManiaScript code.
@return $this Implementing fluent interface.
Builds the ManiaScript code .