public void render(GameContainer gc, Graphics g) throws SlickException {
        if (state != STATE.INVISIBLE) {
            if (state == STATE.ON || state == STATE.REFRESH) CustomRender(gc, g);
            if (state == STATE.FREEZE_NEXT) {
                sence.getGraphics().clear();
                CustomRender(gc, sence.getGraphics());
                state = STATE.FREEZE;
            }
            if (state == STATE.FREEZE) g.drawImage(sence, 0, 0);
        }
    }