SlaveTopicclass

actor.t[4478]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

A SlaveTopic is a special kind of TopicEntry created by a SpecialTopic to function as an AskTopic, TellTopic or AskTellTopic that produces the same response at the SpecialTopic. Game code would not normally define SlaveTopics directly

class SlaveTopic :   ActorTopicEntry

Superclass Tree   (in declaration order)

SlaveTopic
ActorTopicEntry
ReplaceRedirector
Redirector
`                                 object [TopicEntry](../object/TopicEntry.html)                         object`

Subclass Tree  

(none)

Global Objects  

(none)

Summary of Properties  

initialized masterObj

Inherited from ActorTopicEntry :
activated active autoName convKeys curiosityAroused getActor impliesGreeting isConversational keyTopics listOrder name suggestAs timesInvoked

Inherited from TopicEntry :
includeInList isActive matchExactCase matchObj matchPattern matchScore scoreBoost topicMatched

Summary of Methods  

construct handleTopic initializeTopicEntry

Inherited from ActorTopicEntry :
activate addToConvKeyTable buildName curiositySatisfied deactivate getKeyTopics isReachable nodeActive showKeyTopics timesToSuggest

Inherited from ReplaceRedirector :
redirect

Inherited from Redirector :
doInstead doNested doOtherAction

Inherited from TopicEntry :
addTopic matchTopic scoreBooster topicResponse

Properties  

initialized

actor.t[4534]

Flag: has this SlaveTopic already been initialized.

masterObj

actor.t[4531]

Our masterObj is the SpecialTopic that created us

Methods  

construct (matchObj_, masterObj_, includeInList_)

actor.t[4481]

Construct a SlaveTopic

handleTopic ( )OVERRIDDEN

actor.t[4528]

To handle this topic we simply call the handleTopic method on our masterObj (i.e. the SpecialTopic that created us)

initializeTopicEntry ( )OVERRIDDEN

actor.t[4508]

Carry out our initialization as a TopicEntry.

Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1