RandomEventListclass | misc.t[1207] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
Randomized event list. This is similar to a regular event list, but chooses an event at random each time it's invoked.
class
RandomEventList : RandomFiringScript EventList
Superclass Tree (in declaration order)
RandomEventList
RandomFiringScript
object
EventList
Script
object
Subclass Tree
Global Objects
Summary of Properties
Inherited from RandomFiringScript
:
eventPercent
eventReduceAfter
eventReduceTo
Inherited from EventList
:
curScriptState
eventList
eventListLen
Summary of Methods
Inherited from RandomFiringScript
:
checkEventOdds
Inherited from EventList
:
advanceState
construct
doScriptEvent
scriptDone
Inherited from Script
:
getScriptState
Properties
Methods
doScript ( ) OVERRIDDEN | misc.t[1209] |
process the next step of the script
getNextRandom ( ) | misc.t[1233] |
Get the next random state. By default, we simply return a number from 1 to the number of entries in our event list. This is a separate method to allow subclasses to customize the way the random number is selected.
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