[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tads3] Listing Contents of Surfaces
- From: "Eric Eve" <eric.eve@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: [Tads3] Listing Contents of Surfaces
- Date: Mon, 8 Sep 2003 22:50:47 +0100
- To: "Tads3" <tads3@xxxxxxxxxxx>
Mike Roberts wrote:
> It looks like the culprit is the inlineContentsLister property of Surface,
> or more precisely the lack thereof. Surface is just inheriting the
standard
> inlineContentsLister from Thing, but it really should be using a custom
> lister for that. I think this can be remedied by adding a new custom
lister
> to msg_neu.t along these lines: [code follows]
Thanks; not only does that fix the problem but as it happened that reply
appeared at precisely at the right moment to help me with the custom
UnderSurface class I'm trying to implement (i.e. a class that responds to
LOOK UNDER and PUT UNDER in a way analogous to that in which a Surface
responds to PUT ON and LOOK IN, with obvious changes to the messages
displayed); would there be any call for such a class in the standard
library? (I imagine that in practice UnderSurfaces would generally be
employed as the target of remapTos).
-- Eric