Paragraph

class Paragraph(val line: String, val instruction: EndOfParagraphInstruction = Next(), val name: String = "", val action: ConversationAction = { })

A paragraph within a Conversation. Must contain a line, but can also have an optional action that is invoked as a response to this paragraph being triggered. The instruction is applied to direct the conversation after this paragraph.

Constructors

Link copied to clipboard
constructor(line: String, instruction: EndOfParagraphInstruction = Next(), name: String = "", action: ConversationAction = { })

Properties

Link copied to clipboard
Link copied to clipboard

Determines if there are responses available for this Paragraph.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The available responses to the line.