RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.content.dialogue.PlayerDialogue Class Reference
Inheritance diagram for com.osroyale.content.dialogue.PlayerDialogue:
Collaboration diagram for com.osroyale.content.dialogue.PlayerDialogue:

Public Member Functions

 PlayerDialogue (String... lines)
 PlayerDialogue (Expression expression, String... lines)
Expression getExpression ()
String[] getLines ()

Detailed Description

A Chainable implementation that represents a player talking.

Author
Seven

Definition at line 36 of file PlayerDialogue.java.

Constructor & Destructor Documentation

◆ PlayerDialogue() [1/2]

com.osroyale.content.dialogue.PlayerDialogue.PlayerDialogue ( String... lines)
inline

Creates a new PlayerDialogue with a default expression of DEFAULT.

Parameters
linesThe text for this dialogue.

Definition at line 49 of file PlayerDialogue.java.

◆ PlayerDialogue() [2/2]

com.osroyale.content.dialogue.PlayerDialogue.PlayerDialogue ( Expression expression,
String... lines )
inline

Creates a new PlayerDialogue.

Parameters
expressionThe expression for this dialogue.
linesThe text for this dialogue.

Definition at line 59 of file PlayerDialogue.java.

Member Function Documentation

◆ getExpression()

Expression com.osroyale.content.dialogue.PlayerDialogue.getExpression ( )
inline

Gets the expression of this player.

Returns
The expression of this player.

Definition at line 69 of file PlayerDialogue.java.

◆ getLines()

String[] com.osroyale.content.dialogue.PlayerDialogue.getLines ( )
inline

Gets the text for this dialogue.

Returns
The text.

Definition at line 78 of file PlayerDialogue.java.


The documentation for this class was generated from the following file: