YesNoTopicclass
A YES/NO topic. These handle YES and/or NO, which are normally used as responses to questions posed by the NPC. YesNoTopic is the base class, and can be used to create a single response for both YES and NO; YesTopic provides a response just for YES; and NoTopic provides a response just for NO. The only thing an instance of these classes should normally need to specify is the response text (or a list of response strings, by multiply inheriting from an EventList subclass as usual).
class
YesNoTopic
:
MiscTopic
Superclass Tree (in declaration order)
YesNoTopic
MiscTopic
TopicEntry
` object`
Subclass Tree
Global Objects
(none)
Summary of Properties
Inherited from TopicEntry
:
altTalkCount
altTopicList
impliesGreeting
isActive
isConversational
matchObj
matchScore
talkCount
topicGroupActive
topicGroupScoreAdjustment
topicResponse
Summary of Methods
Inherited from MiscTopic
:
isMatchPossible
matchTopic
Inherited from TopicEntry
:
addAltTopic
addSuggestedTopic
addTopic
adjustScore
anyAltIsActive
breakTopicTie
checkIsActive
deferToEntry
getActor
getTopicOwner
handleTopic
initializeTopicEntry
noteAltInvocation
noteInvocation
setTopicPronouns
Properties
includeInList
OVERRIDDEN
no description available
matchList
our list of matching topic objects - we’ll only ever be asked to match ‘yesTopicObj’ (for YES inputs) or ‘noTopicObj’ (for NO inputs)
Methods
(none)
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3