Class StoryDialogueData

java.lang.Object
com.csse3200.game.components.story.StoryDialogueData

public class StoryDialogueData extends Object
Holds story dialogue for different stories like Dog, Croc, and Bird.
  • Constructor Details

    • StoryDialogueData

      public StoryDialogueData()
  • Method Details

    • getDialogue

      public String[][] getDialogue(String storyName, int screenNum)
      Gets the dialogue for a specific story and screen number.
      Parameters:
      storyName - the name of the story (dog, croc, bird)
      screenNum - the current screen number
      Returns:
      a 2D array of dialogue for the specified screen of the story