public Message(@NotNull MessageType type, String title, @NotNull String content, Runnable yes) {
        String path = null;
        yesAction = yes;
        buttons = new ArrayList<GuiButton>();
        switch (type) {
            case INFO:
                path = "message/infoLogo";
                break;
            case ERROR:
                path = "message/errorLogo";
                break;
            case CRITICAL:
                path = "message/criticalLogo";
                break;
            case WARNING:
                path = "message/warningLogo";
                break;
            case CONFIRMATION:
                path = "message/confirmLogo";
                isConfirmation = true;
                break;
        }
        texturePath = path;

        String[] splits = content.split("\n");
        if (splits.length > 3) {
            GameApplication.engineLogger.warning("MessageDisplay -> Can not set content : LINE_NUMBER_EXITING_MEMORY");
            return;
        }
        int i = 0;
        for (String s : splits) {
            messageContent[i] = s;
            i++;
        }
        messageTitle = title;
    }