[DGD]DGD and Melville

Nightlith nightlith at mb.sympatico.ca
Thu Jan 11 21:32:06 CET 2001


----- Original Message -----
From: "Stephen Schmidt" <schmidsj at union.edu>
To: <dgd at list.imaginary.com>
Sent: Thursday, January 11, 2001 2:17 PM
Subject: Re: [DGD]DGD and Melville


> On Thu, 11 Jan 2001, Nightlith wrote:
> >     What's the relationship of Player.c and Creation.c?
>
> player.c is the object which is cloned to create the body
> of the player in the mud world. When the body is cloned,
> the player's attributes are read in from a data file.
> creation.c is the code that asks a new player for the
> initial information (name, password, and if you added
> such things, race, social background, etc) and fills
> in any pregenerated information (such as stats if you
> have those). creation.c is never cloned, but is invoked
> each time a player logs on and enters a player name
> with no data file associated.
>
> > If I create a living.c who should inherit it? player.c or creation.c?
>
> player.c, presuming that living.c would be code that would
> be common to both a player body and a monster body.

Ok, that's what I though. But if living.c contains all the stat info for
players and monsters, how would creation.c access those variables? Do I
inherit living.c before creation.c?

Dereck.



List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list