Class DialogueKey

java.lang.Object
com.csse3200.game.components.quests.DialogueKey

public class DialogueKey extends Object
Key to identify dialogues based on the NPC's.
  • Constructor Details

    • DialogueKey

      public DialogueKey(String npcName, String[][] dialogue)
      Constructs a new DialogueKey.
      Parameters:
      npcName - The name of the NPC.
      dialogue - The name of the dialogue task.
  • Method Details

    • getNpcName

      public String getNpcName()
      Retrieves the name of the NPC.
      Returns:
      the name of the NPC.
    • getDialogue

      public String[][] getDialogue()
      Returns the dialogue for the dialogue task.