Listerclass | lister.t[29], english.t[2933] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
Showing a listing is basically a function call. The reason we make a whole class out of it is that we provide a number of options, and a class is a convenient way to specify options. The options are simply defined as properties of a lister object, so to create a certain kind of list, you just set up a Lister instance with the desired options. We provide pre-defined Lister objects for the common library listing types, but games can create their own custom list types by creating their own Lister objects for different sets of options.
Modified in english.t[2933]:
List display routines
class
Lister : object
Lister
ItemLister
CustomRoomLister
ExitLister
finishOptionsLister
fullScoreLister
buildList
listed
listOrder
show
showList
showListEmpty
showListPrefix
showListSuffix
buildList (lst) | lister.t[100] |
listed (obj) | lister.t[84] |
listOrder (obj) | lister.t[92] |
show (lst, paraCnt, paraBrk, =, true) | lister.t[39] |
Note that many specific listers replaced the 'paraCnt' parameter with a more useful 'parent' parameter, containing the identity of the object whose contents are being listed.
showList (lst, pl, paraCnt) | english.t[2939] |
showListEmpty (paraCnt) | lister.t[77] |
showListPrefix (lst, pl, paraCnt) | lister.t[73] |
showListSuffix (lst, pl, paraCnt) | lister.t[75] |