public void unloadHUD(String n) {
        HUD hud = null;

        //start from the top and work our way down to "layer" the huds
        for (int i = (huds.size() - 1); i >= 0; i--) {
            hud = huds.get(i);
            if (hud.getName().equals(n)) {
                hud.shouldRender = false;
                hud = null;
                huds.remove(i);
            }
        }
    }