| Package | org.wak.dialog |
| Class | public class AdventureDialog |
| Property | Defined by | ||
|---|---|---|---|
| dialogId : String [read-only]
id of this dialog.
| AdventureDialog | ||
| startupTopic : Topic
[read-only]
The startup topic or entry point to the conversation.
| AdventureDialog | ||
| Method | Defined by | ||
|---|---|---|---|
|
AdventureDialog(pDialogInput:XML)
Constructor
| AdventureDialog | ||
|
Topics of the dialog
| AdventureDialog | ||
|
isPresent(pCharId:String):Boolean
Test if a character is present in the dialog.
| AdventureDialog | ||
| dialogId | property |
dialogId:String [read-only]id of this dialog.
Implementation public function get dialogId():String
| startupTopic | property |
startupTopic:Topic [read-only]The startup topic or entry point to the conversation.
Implementation public function get startupTopic():Topic
| AdventureDialog | () | constructor |
public function AdventureDialog(pDialogInput:XML)Constructor
ParameterspDialogInput:XML — input xml with the dialog.
|
| GetTopics | () | method |
public function GetTopics():IIteratorTopics of the dialog
ReturnsIIterator —
IIterator of the topics
|
| isPresent | () | method |
public function isPresent(pCharId:String):BooleanTest if a character is present in the dialog. The entry topic is excluded.
ParameterspCharId:String — Character id.
|
Boolean — true if the character in pCharId is present in the dialog.
|