DelayedAgendaItemclass | actor.t[5625] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
A delayed agenda item. This type of item becomes ready to execute when the game clock reaches a given turn counter.
class
DelayedAgendaItem : AgendaItem
Superclass Tree (in declaration order)
DelayedAgendaItem
AgendaItem
object
Subclass Tree
Global Objects
Summary of Properties
Inherited from AgendaItem
:
agendaOrder
initiallyActive
isDone
Summary of Methods
Inherited from AgendaItem
:
execute
getActor
invokeItem
resetItem
Properties
isReady OVERRIDDEN | actor.t[5627] |
we're ready if the game clock time has reached our ready time
readyTime | actor.t[5630] |
the turn counter on the game clock when we become ready
Methods
setDelay (turns) | actor.t[5641] |
Set our ready time based on a delay from the current time. We'll become ready after the given number of turns elapses. For convenience, we return 'self', so a delayed agenda item can be initialized and added to an actor's agenda in one simple operation, like so:
actor.addToAgenda(item.setDelay(1));
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3
Generated on 5/16/2013 from TADS version 3.1.3