A "basic openable" is an object that keeps open/closed status, and which can be linked to another object to maintain that status. This basic class doesn't handle any special commands; it's purely for keeping track of internal open/closed state.
BasicOpenable : Linkable
Superclass Tree (in declaration order)
Summary of Properties
Summary of Methods
if we can't reach or move something through the container, it must be because we're closed
Initial open/closed setting. Set this to true to make the object open initially. If this object is linked to another object (as in the two sides of a door), you only need to set this property in the *master* object - the other side will automatically link up to the master object during initialization.
Internal open/closed status. Do not use this for initialization - set initiallyOpen in the master object instead.
Open status name. This is an adjective describing whether the object is opened or closed. In English, this will return "open" or "closed."
Flag: door is open. Travel is only possible when the door is open. Return the master's status.
Make the object open or closed. By default, we'll simply set the isOpen flag to the new status. Objects can override this to apply side effects of opening or closing the object.
If we're obstructing a sense path, it must be because we're closed. Try implicitly opening.
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3