[500] in Coldmud discussion meeting
Re: How does inheritance work...
daemon@ATHENA.MIT.EDU (Tue Nov 1 09:02:08 1994
)
To: jeffpk@netcom.com (Jeff Kesselman)
Cc: coldstuff@MIT.EDU
In-Reply-To: Your message of "Mon, 31 Oct 1994 23:28:19 PST."
<199411010728.XAA14151@netcom14.netcom.com>
Date: Tue, 01 Nov 1994 09:00:18 EST
From: Greg Hudson <ghudson@MIT.EDU>
> 1) When object-variables are inherited, does the inheritor
> have its own copy or do all inheritors reference the
> parent's copy?
The inheritor has its own copy of the object variable, but it can only
be referenced by the parent.
> In some cases you want a variable to act like a c++ static member,
My decision in designing Coldmud was not to allow this kind of
behavior; the state of an object is a property of that object alone,
not its parents.