public void render() {
        try{
         for (Text t : rendertext) {
             if (t.checkIfVisible()) {
                 graphics.drawString(t.getText(), t.getX(), t.getY());
             } else {
                 System.out.println("Time Delete");
                 rendertext.remove(t);
             }
         }
        } catch (ConcurrentModificationException ignore){
            //e.printStackTrace();
        }
        killLog.render();
        if(showRespawnDialog){
            graphics.drawString("Waiting for Respawn",GAME_WIDTH / 2 - font.getWidth("Waiting for Respawn") / 2, 300);
        }
    }