public function move ( $dx, $dy ) {
        if ( $dx < 0 ) {
            $this->left(abs($dx));
        } else {
            $this->right(abs($dx));
        }
        if ( $dy < 0 ) {
            $this->up(abs($dy));
        } else {
            $this->down(abs($dy));
        }
        return $this;
    }
public function move ( $dx, $dy ) {
        if ( $dx < 0 ) {
            $this->left(abs($dx));
        } else {
            $this->right(abs($dx));
        }
        if ( $dy < 0 ) {
            $this->up(abs($dy));
        } else {
            $this->down(abs($dy));
        }
        return $this;
    }
public function move ( $ dx , $ dy ) { if ( $ dx < 0 ) { $ this -> left ( abs ( $ dx ) ) ; } else { $ this -> right ( abs ( $ dx ) ) ; } if ( $ dy < 0 ) { $ this -> up ( abs ( $ dy ) ) ; } else { $ this -> down ( abs ( $ dy ) ) ; } return $ this ; }
Move current position

@param int $dx Horizontal displacement
@param int $dy Vertical displacement
@return CursorObject Self instance
Move current position