|
RuneHive-Game
|
Handles the item on dialogue. More...
Public Member Functions | |
| void | accept (DialogueFactory factory) |
| String | getContext () |
| Gets the context of the dialogue. | |
| int | getItem () |
| Gets the item display of the dialogue. | |
| String | getTitle () |
| Gets the title of the dialogue. | |
| ItemDialogue (String title, String context, int item) | |
Constructs a new ItemDialogue. | |
Private Attributes | |
| final String | context |
| The context of the item dialogue. | |
| final int | item |
| The item being displayed on the dialogue. | |
| final String | title |
| The title of the item dialogue. | |
Handles the item on dialogue.
Definition at line 8 of file ItemDialogue.java.
| com.runehive.content.dialogue.ItemDialogue.ItemDialogue | ( | String | title, |
| String | context, | ||
| int | item ) |
Constructs a new ItemDialogue.
| title | The title of the dialogue. |
| context | The context of the dialogue. |
| item | The item being displayed on the dialogue. |
Definition at line 26 of file ItemDialogue.java.
| void com.runehive.content.dialogue.ItemDialogue.accept | ( | DialogueFactory | factory | ) |
Definition at line 60 of file ItemDialogue.java.
References com.runehive.content.dialogue.DialogueFactory.sendItem().
| String com.runehive.content.dialogue.ItemDialogue.getContext | ( | ) |
Gets the context of the dialogue.
Definition at line 46 of file ItemDialogue.java.
References context.
| int com.runehive.content.dialogue.ItemDialogue.getItem | ( | ) |
Gets the item display of the dialogue.
Definition at line 55 of file ItemDialogue.java.
References item.
| String com.runehive.content.dialogue.ItemDialogue.getTitle | ( | ) |
Gets the title of the dialogue.
Definition at line 37 of file ItemDialogue.java.
References title.
|
private |
The context of the item dialogue.
Definition at line 14 of file ItemDialogue.java.
Referenced by getContext(), and ItemDialogue().
|
private |
The item being displayed on the dialogue.
Definition at line 17 of file ItemDialogue.java.
Referenced by getItem(), and ItemDialogue().
|
private |
The title of the item dialogue.
Definition at line 11 of file ItemDialogue.java.
Referenced by getTitle(), and ItemDialogue().