ThoughtManager class | thoughts.t[20]

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

`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`

``

Inherited from `ModuleExecObject` :
`_execute classExec`

Inherited from `TopicDatabase` :
`addTopic getBestMatch`

Properties

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

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

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

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

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

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[61]`

The list of Thoughts associated with this ThoughtManager object

Methods

`execute ( )`OVERRIDDEN | `thoughts.t[23]`

Carry out the ThoughtManager's preinitialization

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

Handle a THINK ABOUT command.

Adv3Lite Library Reference Manual
Generated on 25/04/2024 from adv3Lite version 2.0