Glotmorf on 20 Apr 2003 16:19:01 -0000 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [spoon-discuss] Re: [Spoon-business] Proposal: base class |
On 4/20/03 at 11:01 AM Daniel Lepage wrote: >On Saturday, April 19, 2003, at 03:57 PM, Glotmorf wrote: > >> {{ _We Got Class Now!_ >> >> Create the following 2GC: >> >> {{ _Base_ >> >> Inherits from: (none) >> >> Properties: (none) >> >> Methods: >> >> - Create: Create a 2GO that inherits from Base 2GC. >> >> - Destroy: The 2GO ceases to exist. >> >> }} >> >> }} > >What exactly is the objective of 2GCs? Two objectives. One is to provide inheritance to 2GOs, so that you can declare a type of object without creating the particular object. The other is to provide inheritance to other 2GCs, so that you may have objects of a general type, but some special-case objects that are like the general type but different. You can create a grid object class, then a gnome class that inherits from that, then a sheep gnome class that inherits from that, then actual individual sheep gnomes. Glotmorf ----- The Ivory Mini-Tower: a cyber-anthropologist's blog http://ix.1sound.com/ivoryminitower _______________________________________________ spoon-discuss mailing list spoon-discuss@xxxxxxxxx http://lists.ellipsis.cx/mailman/listinfo/spoon-discuss