[DGD] Alternative to classes

Arjen arjenvanefferen at hotmail.com
Tue Mar 2 20:19:14 CET 2010


so I have to create an object with the properties it needs and call
new_object(...) on it to create one?

Sounds easy enough. Thanks.

-----Original Message-----
From: dgd-bounces at dworkin.nl [mailto:dgd-bounces at dworkin.nl] On Behalf Of
Shentino
Sent: dinsdag 2 maart 2010 19:45
To: All about Dworkin's Game Driver
Subject: Re: [DGD] Alternative to classes

What you might be looking for in the line of structures can be mostly filled
by a "light weight object", which functions as a regular object, but is
treated as a passed-by-reference datum like arrays and mappings are.

On Tue, Mar 2, 2010 at 10:21 AM, Arjen <arjenvanefferen at hotmail.com> wrote:

> Hi,
>
>
>
> I found out that DGD doesn't support the class keyword. Is there a
> light-weight way of constructing a group of properties? What do you use in
> this scenario?
>
> Or do I have to use some kind of mapping-collection to hold a group of
> properties?
>
>
>
> Thanks for the input.
>
>
>
> /Arjen
>
> ___________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd
>
___________________________________________
https://mail.dworkin.nl/mailman/listinfo/dgd




More information about the DGD mailing list