MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?
From: Kevin Littlejohn <darius#connect,com.au>
>At the moment, I'm thinking
>along the lines of a bunch of smaller objects, which most things in the
>world inherit from, which define clumps of attributes. Example most easy
>to deal with is that of materials - define a bunch of objects that provide
>the attributes that make up metal, wood, stone, as three different objects,
>then just inherit whichever one you want - and presto: you gain all the
>attributes of that material. Same goes for a lot of other stuff - some
>things (like basic universal attributes) would exist in objects that
>everything inherits from, others would be kind of pick and choose to get
>the effect you want.
How do you design code so that inheriting one class will create a differant
effect on the object (such as the material it is made of)? Is it simply a
matter of the mathods the object uses? In that case, How would it act if
there wasn't a class for say, material?
Any help on the whole topic of inheritence based objects in mudding would be
much appreciated, actually. I've got no exposure to this field ;)
Thanks
-Philip Loguinov
_______________________________________________
MUD-Dev mailing list
MUD-Dev#kanga,nu
http://www.kanga.nu/lists/listinfo/mud-dev
- Thread context:
- RE: [MUD-Dev] Object and class heirarchies -- are they really necessary?, (continued)
- RE: [MUD-Dev] Object and class heirarchies -- are they really necessary?,
Dr Richard A. Bartle richard#mud,co.uk, Tue 21 Mar 2000, 21:45 GMT
- RE: [MUD-Dev] Object and class heirarchies -- are they really necessary?,
Koster, Raph rkoster#origin,ea.com, Wed 22 Mar 2000, 00:25 GMT
- Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?,
Draymoor fibhufky#erols,com, Wed 22 Mar 2000, 02:33 GMT
- Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?,
Draymoor fibhufky#erols,com, Wed 22 Mar 2000, 03:53 GMT
- RE: [MUD-Dev] Object and class heirarchies -- are they really necessary?,
Brian Ashburn BAshburn#us-south,net, Tue 28 Mar 2000, 20:18 GMT
- Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?,
cg cg#ami-cg,GraySage.Edmonton.AB.CA, Wed 29 Mar 2000, 02:38 GMT
- [MUD-Dev] The Meta list is now open and active.,
J C Lawrence claw#kanga,nu, Mon 20 Mar 2000, 18:58 GMT
- [MUD-Dev] Licensing and Clauses,
Chris Jacobson fear#technologist,com, Mon 20 Mar 2000, 17:35 GMT
[ Other Periods
| Other mailing lists
| Search
]