A synchronized event list. This is an event list that takes its actions from a separate event list object. We get our current state from the other list, and advancing our state advances the other list's state in lock step. Set 'masterObject' to refer to the master list whose state we synchronize with.

This can be useful, for example, when we have messages that reflect two different points of view on the same events: the messages for each point of view can be kept in a separate list, but the one list can be a slave of the other to ensure that the two lists are based on a common state.

class SyncEventList :   EventList

Superclass Tree   (in declaration order)


Subclass Tree  


Global Objects  


Summary of Properties  


Inherited from EventList :
curScriptState  eventList  eventListLen 

Summary of Methods  

advanceState  getScriptState  scriptDone 

Inherited from EventList :
construct  doScript  doScriptEvent 



my master event list object


advanceState ( )OVERRIDDENmisc.t[1197]

to advance my state, advance the master list's state

getScriptState ( )OVERRIDDENmisc.t[1194]
my state is simply the master list's state

scriptDone ( )OVERRIDDENmisc.t[1200]
let the master list take care of finishing a script step

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