function setPosition()
    {
        $oldX = $this->posX;
        $oldY = $this->posY;
        $oldZ = $this->posZ;

        $args = func_get_args();

        if (!empty($args)) $this->posX = array_shift($args);

        if (!empty($args)) $this->posY = array_shift($args);

        if (!empty($args)) $this->posZ = array_shift($args);

        $this->onMove($oldX, $oldY, $oldZ);
    }
function setPosition()
    {
        $oldX = $this->posX;
        $oldY = $this->posY;
        $oldZ = $this->posZ;

        $args = func_get_args();

        if (!empty($args)) $this->posX = array_shift($args);

        if (!empty($args)) $this->posY = array_shift($args);

        if (!empty($args)) $this->posZ = array_shift($args);

        $this->onMove($oldX, $oldY, $oldZ);
    }
function setPosition ( ) { $ oldX = $ this -> posX ; $ oldY = $ this -> posY ; $ oldZ = $ this -> posZ ; $ args = func_get_args ( ) ; if ( ! empty ( $ args ) ) $ this -> posX = array_shift ( $ args ) ; if ( ! empty ( $ args ) ) $ this -> posY = array_shift ( $ args ) ; if ( ! empty ( $ args ) ) $ this -> posZ = array_shift ( $ args ) ; $ this -> onMove ( $ oldX , $ oldY , $ oldZ ) ; }
Sets the position of the element
@param float
@param float
@param float
Sets the position of the element