BoredomAgendaItemclass
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
Inherited from AgendaItem
:
initiallyActive
isDone
isReady
Summary of Methods
Inherited from AgendaItem
:
execute
getActor
resetItem
Properties
agendaOrder
OVERRIDDEN
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)
we construct these dynamically during actor initialization
invokeItem ( )
OVERRIDDEN
on invocation, end the conversation
isReady ( )
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