public void doUpdating(){
        if (shouldBeUpdated()){
            update();
        }

        if (isDraggable()){
            doMouseDraggingCheck();
        }

        for (Runnable r : runList){
            r.run();
        }

        for (VGuiBase parent : childs) {
            if (parent.shouldBeUpdated()) {
                parent.update();
            }
        }
    }