using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;

public class PanelTest : MonoBehaviour
{
    [SerializeField] bool Custom = true;

    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }

    private void CustomPanel()
    {
        Debug.Log("Accept press");
    }

    private void QuestionPanel()
    {
        Debug.Log("Reject press");
    }

    private void EndDialogue()
    {
        Debug.Log("End dialogue :D");
    }
}

public class NPCDialogue2 : MonoBehaviour
{
/*    List<DialogueStepModel> DialogueStepsList;
    public void Start()
    {
        DialogueController DialogueStep = new DialogueController();
        DialogueStep.AddSentence(new DialogueModel("lorem ipsum"));
*//*        DialogueStep.AddSentence(new QuestionDialogueModel("tolore dolore?",
            new List<Tuple<string, Action>> {
                        new Tuple<string, Action>("AcceptButton", CustomPanel),
                        new Tuple<string, Action>("RejectButton", QuestionPanel)
            }));*//*
        DialogueStep.SetActionAfterDialogueEnds(() => { });

        DialogueStepModel dialogueStepModel = new DialogueStepModel(DialogueStep);

        DialogueStepsList = new List<DialogueStepModel> { dialogueStepModel };
    }

    public void ShowStep()
    {
        DialogueStepsList[0].DialogueController.Show(DialogueStepsList[0].DialogueController.listOfDialogue.Dequeue());
    }*/
}