ImpHelloTopicclassactor.t[3009]

An implied greeting topic. This handles ONLY implied greetings.

Note that we have a higher-than-normal score by default. This makes it easy to program two common cases for conversational states. First, the more common case, where you want a single message for both implied and explicit greetings: just create a HelloTopic, since that responds to both kinds. Second, the less common case, where we want to differentiate, writing separate responses for implied and explicit greetings: create a HelloTopic for the explicit kind, and ALSO create an ImpHelloTopic for the implied kind. Since the ImpHelloTopic has a higher score, it'll overshadow the HelloTopic object when it matches an implied greeting; but since ImpHelloTopic doesn't match an explicit greeting, we'll fall back on the HelloTopic for that.

class ImpHelloTopic :   MiscTopic

Superclass Tree   (in declaration order)

ImpHelloTopic
       
MiscTopic
                TopicEntry
                        object

Subclass Tree  

(none)

Global Objects  

(none)

Summary of Properties  

impliesGreeting  includeInList  matchList  matchScore 

Inherited from TopicEntry :
altTalkCount  altTopicList  isActive  isConversational  matchObj  talkCount  topicGroupActive  topicGroupScoreAdjustment  topicResponse 

Summary of Methods  

Inherited from MiscTopic :
isMatchPossible  matchTopic 

Inherited from TopicEntry :
addAltTopic  addSuggestedTopic  addTopic  adjustScore  anyAltIsActive  checkIsActive  deferToEntry  getActor  getTopicOwner  handleTopic  initializeTopicEntry  noteAltInvocation  noteInvocation  setTopicPronouns 

Properties  

impliesGreetingOVERRIDDENactor.t[3018]

this is itself a greeting, so we obviously don't want to trigger another greeting to greet the greeting

includeInListOVERRIDDENactor.t[3010]
no description available

matchListactor.t[3011]
no description available

matchScoreOVERRIDDENactor.t[3012]
no description available

Methods  

(none)

TADS 3 Library Manual
Generated on 9/8/2006 from TADS version 3.0.11