Re: Automatic doors in TADS?


22 Jan 1995 05:24:57 GMT

Piers Edmund Johnson (piers@socs.uts.EDU.AU) wrote:
: I'm writing a game in tads which requires the doors to close about two turns
: after the player goes through them or opens them. Has anyone written a class
: which does this, and maybe a daemon which controls it?

Can't you just add a line to doOpen like:

notify (self, closeme, 2);

And then "closeme" would just set self.isopen:=nil.