ThoughtManager class | thoughts.t[22], thoughtsuggs.t[120]

The base clase for a thought manager object. To use this in a game create a single object of this class and locate a number of Thought objects in it (with the + notation) to represent responses to THINK ABOUT

Modified in thoughtsuggs.t[120]:
Modifications to the TboughtManager class to allow it to work witht the Tbought Suggestions extenstion.

`class ThoughtManager : PreinitObject TopicDatabase`

Superclass Tree (in declaration order)

`ThoughtManager`
`PreinitObject`
`ModuleExecObject`
`object`
`TopicDatabase`
`object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

`getActor noThoughtMsg thinker thoughtList`

Inherited from `PreinitObject` :
`execBeforeMe reverseGlobalSymbols`

Inherited from `ModuleExecObject` :
`execAfterMe hasInitialized_ isDoingExec_ isExecuted_`

``

Summary of Methods

`execute handleTopic showSuggestions`

``

Inherited from `ModuleExecObject` :
`_execute classExec`

Inherited from `TopicDatabase` :
`addTopic getBestMatch`

Properties

`getActor` | `thoughts.t[72]`

Our actor is the actor who's doing the thinking.

`noThoughtMsg` | `thoughts.t[69]`

The message to display when we don't find a matching Thought

`thinker` | `thoughts.t[80]`

The person whose thoughts are located in this ThoughtManager. If the player character never changes in this game and/or you only define one ThoughtManager, this can be left at nil; otherwise you should override this property to point to the actor whose thoughta are being managed by this object.

`thoughtList` | `thoughts.t[65]`

The list of Thoughts associated with this ThoughtManager object

Methods

`execute ( )`OVERRIDDEN | `thoughts.t[25], thoughtsuggs.t[145]`

Carry out the ThoughtManager's preinitialization

Modified in thoughtsuggs.t[145]:
Carry out our Preinitialization.

`handleTopic (top)` | `thoughts.t[48]`

Handle a THINK ABOUT command.

`showSuggestions ( )` | `thoughtsuggs.t[123]`

Display a list of topics the player can THINK ABOUT

Adv3Lite Library Reference Manual
Generated on 08/12/2025 from adv3Lite version 2.2.2