BasicOpenable: Linkable
| [Previous] [Main] [Next] |
· | initiallyOpen: set this to true if you want the object to start out open. The default is nil.
|
· | isOpen(): use this method to determine whether the object is open (true) or closed (nil), but do not overwrite this property in game code to make an object open or closed; call makeOpen instead.
|
· | makeOpen(stat): call this method to open or close the object programmatically, by calling makeOpen(true) or makeOpen(nil). You can also override this method to bring about additional side-effects of opening or closing the object, but if you do so be sure to remember to call inherited(stat) somewhere in your overridden makeOpen(stat).
|
· | openDesc(): the method/property that provides an additional description to say whether the object is open or closed; the English library defaults are "open" and "closed", which are good enough for most purposes.
|