BoredomAgendaItem class | actor.t[5180]

A special kind of agenda item for monitoring "boredom" during a conversation. We check to see if our actor is in a conversation, and the PC has been ignoring the conversation for too long; if so, our actor initiates the end of the conversation, since the PC apparently isn't paying any attention to us.

`class BoredomAgendaItem : AgendaItem`

Superclass Tree (in declaration order)

`BoredomAgendaItem`
`AgendaItem`
`object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

`agendaOrder`

Inherited from `AgendaItem` :
`initiallyActive isDone isReady`

Summary of Methods

`construct invokeItem isReady`

Inherited from `AgendaItem` :
`execute getActor resetItem`

Properties

`agendaOrder` OVERRIDDEN | `actor.t[5218]`

by default, handle boredom before other agenda items - we do this because an ongoing conversation will be the first thing on the NPC's mind

Methods

`construct (actor)` | `actor.t[5182]`

we construct these dynamically during actor initialization

`invokeItem ( )`OVERRIDDEN | `actor.t[5204]`

on invocation, end the conversation

`isReady ( )` | `actor.t[5192]`

we're ready to run if our actor is in an InConversationState and its boredom count has reached the limit for the state

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3