ScummVM API documentation
Ultima::Ultima4::Dialogue Class Reference

#include <conversation.h>

Classes

class  Keyword
 
class  Question
 

Public Types

typedef Common::HashMap< Common::String, Keyword * > KeywordMap
 

Public Member Functions

const Common::StringgetName () const
 
const Common::StringgetPronoun () const
 
const Common::StringgetPrompt () const
 
ResponsegetIntro (bool familiar=false)
 
ResponsegetLongIntro (bool familiar=false)
 
ResponsegetDefaultAnswer ()
 
Dialogue::QuestiongetQuestion ()
 
void setName (const Common::String &n)
 
void setPronoun (const Common::String &pn)
 
void setPrompt (const Common::String &prompt)
 
void setIntro (Response *i)
 
void setLongIntro (Response *i)
 
void setDefaultAnswer (Response *a)
 
void setTurnAwayProb (int prob)
 
void setQuestion (Question *q)
 
void addKeyword (const Common::String &kw, Response *response)
 
const ResponsePartgetAction () const
 
Common::String dump (const Common::String &arg)
 
Keywordoperator[] (const Common::String &kw)
 

Detailed Description

The dialogue class, which holds conversation information for townspeople and others who may talk to you. It includes information like pronouns, keywords, actual conversation text (of course), questions, and what happens when you answer these questions.

Member Typedef Documentation

◆ KeywordMap

A mapping of keywords to the Keyword object that represents them


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