Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions Main/DialogueStage.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

public class DialogueStage {
private String stageName;
private Dialogue[] dialogues;

public DialogueStage(String stageName, Dialogue[] dialogues) {
this.stageName = stageName;
this.dialogues = dialogues;
}

public String getStageName() {
return stageName;
}

public int getSize() {
return dialogues.length;
}

public Dialogue getDialogue(int index) {
if (index >= 0 && index < dialogues.length) {
return dialogues[index];
} else {
return null;
}
}
}