src/main/java/de/dosmike/sponge/megamenus/impl/RenderManager.java
public static void register(MenuRenderer menuRenderer) {
        if (renders.add(menuRenderer)) {
            if (renders.size() == 1) //currently first and only render
                animations.finishTick(); //reset animation timer
            if (menuRenderer.getRenderListener() != null)
                menuRenderer.getRenderListener().resumed(menuRenderer, menuRenderer.getMenu());
        }
    }
/**
     * Register a new renderer.<br>
     * If the {@link AnimationManager} was not yet set or removed it will be instantiated again.<br>
     * Notifies the renderer of being resumed if a listener is present.
     * @param menuRenderer the renderer to register
     */
Register a new renderer.
If the  AnimationManager was not yet set or removed it will be instantiated again.
Notifies the renderer of being resumed if a listener is present.
@param menuRenderer the renderer to register
Register a new renderer . If the AnimationManager was not yet set or removed it will be instantiated again . Notifies the renderer of being resumed if a listener is present . @param menuRenderer the renderer to register
public static void register(MenuRenderer menuRenderer) {
        if (renders.add(menuRenderer)) {
            if (renders.size() == 1) 
                animations.finishTick(); 
            if (menuRenderer.getRenderListener() != null)
                menuRenderer.getRenderListener().resumed(menuRenderer, menuRenderer.getMenu());
        }
    }
public static void register ( MenuRenderer menuRenderer ) { if ( renders . add ( menuRenderer ) ) { if ( renders . size ( ) == 1 ) animations . finishTick ( ) ; if ( menuRenderer . getRenderListener ( ) != null ) menuRenderer . getRenderListener ( ) . resumed ( menuRenderer , menuRenderer . getMenu ( ) ) ; } }
Register a new renderer.<br>
 If the {@link AnimationManager} was not yet set or removed it will be instantiated again.<br>
 Notifies the renderer of being resumed if a listener is present.
Register a new renderer . <br > If the { @link AnimationManager } was not yet set or removed it will be instantiated again . <br > Notifies the renderer of being resumed if a listener is present .
//currently first and only render //reset animation timer