|
RuneHive-Game
|
A Chainable implementation that represents a player talking.
More...
Public Member Functions | |
| void | accept (DialogueFactory factory) |
| Expression | getExpression () |
| Gets the expression of this player. | |
| String[] | getLines () |
| Gets the text for this dialogue. | |
| PlayerDialogue (Expression expression, String... lines) | |
Creates a new PlayerDialogue. | |
| PlayerDialogue (String... lines) | |
Creates a new PlayerDialogue with a default expression of DEFAULT. | |
Private Attributes | |
| final Expression | expression |
| The expression of this player. | |
| final String[] | lines |
| The text for this dialogue. | |
A Chainable implementation that represents a player talking.
Definition at line 8 of file PlayerDialogue.java.
| com.runehive.content.dialogue.PlayerDialogue.PlayerDialogue | ( | String... | lines | ) |
Creates a new PlayerDialogue with a default expression of DEFAULT.
| lines | The text for this dialogue. |
Definition at line 21 of file PlayerDialogue.java.
References com.runehive.content.dialogue.Expression.DEFAULT, and lines.
| com.runehive.content.dialogue.PlayerDialogue.PlayerDialogue | ( | Expression | expression, |
| String... | lines ) |
Creates a new PlayerDialogue.
| expression | The expression for this dialogue. |
| lines | The text for this dialogue. |
Definition at line 31 of file PlayerDialogue.java.
References expression, and lines.
| void com.runehive.content.dialogue.PlayerDialogue.accept | ( | DialogueFactory | factory | ) |
Definition at line 55 of file PlayerDialogue.java.
References com.runehive.content.dialogue.DialogueFactory.sendPlayerChat().
| Expression com.runehive.content.dialogue.PlayerDialogue.getExpression | ( | ) |
Gets the expression of this player.
Definition at line 41 of file PlayerDialogue.java.
References expression.
| String[] com.runehive.content.dialogue.PlayerDialogue.getLines | ( | ) |
Gets the text for this dialogue.
Definition at line 50 of file PlayerDialogue.java.
References lines.
|
private |
The expression of this player.
Definition at line 11 of file PlayerDialogue.java.
Referenced by getExpression(), and PlayerDialogue().
|
private |
The text for this dialogue.
Definition at line 14 of file PlayerDialogue.java.
Referenced by getLines(), PlayerDialogue(), and PlayerDialogue().