Re: TADS: Redirecting all verbs?


6 Jun 1995 05:34:18 GMT

Dan Shiovitz (scythe@u.washington.edu) wrote:
: I'd like to redirect all verbs used on object A to object B. Is there a
: way to do this? It seems like dobjGen would be used here, but I can't quite
: figure out how. Anyone?

On a related note, I'd like to redirect certain verbs from a whole class
of objects to another class of objects. Sort of like:

lockItem:item
doUnlock->self.mydoor
;

(Here anytime you tried to "unlock lock" it would redirect it to the
appropriate door; the actual situation is more complicated but similar.)