HintMenuclass | hintsys.t[462] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
The typical hint menu system will be structured into a top-level hint menu that contains a set of sub-menus for the main areas of the game; each sub-menu will have a series of Goal items, each Goal providing a set of answers to a particular question. Something like this:
topHintMenu: TopHintMenu 'Hints';
+ HintMenu 'General Questions';
++ Goal 'What am I supposed to be doing?' [answer, answer, answer];
++ Goal 'Amusing things to try' [thing, thing, thing];
+ HintMenu 'First Area';
++ Goal 'How do I get past the shark?' [answer, answer, answer];
++ Goal 'How do I open the fish tank?' [answer, answer, answer];
+ HintMenu 'Second Area';
++ Goal 'Where is the gold key?' [answer, answer, answer];
++ Goal 'How do I unlock the gold door?' [answer, answer, answer];
Note that there's no requirement that the hint menu tree takes exactly this shape. A very small game could dispense with the submenus and simply put all of the goals directly in the top hint menu. A very large game with lots of goals could add more levels of sub-menus to make it easier to navigate the large number of topics.
class
HintMenu : MenuItem HintMenuObject
HintMenu
MenuItem
MenuObject
object
HintMenuObject
object
HintMenu
TopHintMenu
allContents
isActiveInMenu
title
Inherited from MenuItem
:
bgcolor
curKeyList
curMenu
fgcolor
fullScreenMode
heading
indent
isOpen
keyList
prevMenuLink
topbarbg
topbarfg
topMenu
Inherited from MenuObject
:
contents
menuOrder
Inherited from HintMenuObject
:
topicOrder
addToContents
initializeContents
updateContents
Inherited from MenuItem
:
display
enterSubMenu
formatXML
getChildIndex
getKeysXML
getNextMenu
getPrevMenu
getXML
refreshTopMenuBanner
removeStatusLine
removeTopMenuBanner
showMenu
showMenuHtml
showMenuText
showTopMenuBanner
Inherited from MenuObject
:
compareForMenuSort
execute
initializeLocation
Inherited from HintMenuObject
:
compareForTopicSort
allContents | hintsys.t[517] |
isActiveInMenu | hintsys.t[492] |
title OVERRIDDEN | hintsys.t[464] |
addToContents (obj) OVERRIDDEN | hintsys.t[495] |
initializeContents ( ) OVERRIDDEN | hintsys.t[505] |
updateContents ( ) OVERRIDDEN | hintsys.t[467] |