Class StoryDialogueData
java.lang.Object
com.csse3200.game.components.story.StoryDialogueData
Holds story dialogue for different stories like Dog, Croc, and Bird.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[][]
getDialogue
(String storyName, int screenNum) Gets the dialogue for a specific story and screen number.
-
Constructor Details
-
StoryDialogueData
public StoryDialogueData()
-
-
Method Details
-
getDialogue
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
-