public void update(float delta)
    {
        if(blockNotifications || _notifications == null || _notifications.size() == 0)
            return;

        int updateThreshold = (int) (DisplayManager.getWindowHeight()/(height*renderScale));

        Notification notification;
        for(int notificationId = 0;notificationId < _notifications.size();notificationId++)
        {

            notification = _notifications.get(notificationId);
            if(notificationId < updateThreshold)
                notification.update(delta);

            if(notification.isExpired())
            {
                _notifications.remove(notificationId);
                notificationId--;
                slide += height;
            }
        }

        slide -= (slide+slideSpeed)*delta;
        slide = slide < 0 || _notifications.size() == 0 ? 0 : slide;
    }