SlaveTopicclass
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
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
Flag: has this SlaveTopic already been initialized.
masterObj
Our masterObj is the SpecialTopic that created us
Methods
construct (matchObj_, masterObj_, includeInList_)
Construct a SlaveTopic
handleTopic ( )
OVERRIDDEN
To handle this topic we simply call the handleTopic method on our masterObj (i.e. the SpecialTopic that created us)
initializeTopicEntry ( )
OVERRIDDEN
Carry out our initialization as a TopicEntry.
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1