The Chainable
implementation that represents dialogue in which an NPC is talking.
- Author
- Seven
Definition at line 37 of file NpcDialogue.java.
◆ NpcDialogue() [1/2]
com.osroyale.content.dialogue.NpcDialogue.NpcDialogue |
( |
int | id, |
|
|
String... | lines ) |
|
inline |
◆ NpcDialogue() [2/2]
com.osroyale.content.dialogue.NpcDialogue.NpcDialogue |
( |
int | id, |
|
|
Expression | expression, |
|
|
String... | lines ) |
|
inline |
Creates a new NpcDialogue
- Parameters
-
id | The id of this npc. |
expression | The expression of this npc. |
lines | The text for this dialogue. |
Definition at line 79 of file NpcDialogue.java.
◆ getExpression()
Expression com.osroyale.content.dialogue.NpcDialogue.getExpression |
( |
| ) |
|
|
inline |
Gets the expression of this npc.
- Returns
- The expression.
Definition at line 99 of file NpcDialogue.java.
◆ getId()
int com.osroyale.content.dialogue.NpcDialogue.getId |
( |
| ) |
|
|
inline |
Gets the id of this npc.
- Returns
- The id of this npc.
Definition at line 90 of file NpcDialogue.java.
◆ getLines()
String[] com.osroyale.content.dialogue.NpcDialogue.getLines |
( |
| ) |
|
|
inline |
Gets the text for this dialogue.
- Returns
- The text.
Definition at line 108 of file NpcDialogue.java.
The documentation for this class was generated from the following file: