Daniel Lepage on 4 Apr 2003 03:58:01 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[spoon-discuss] 2GCs


Say, what happens if a 2GC gets a method from two parents? Like, if class foo inherits from class spoo and class fleem, both of which have a bar() method... which method does foo get? Spoo's bar, or Fleem's bar, or do both happen when it's called, or what?

And a suggestion:
It might make things easier if 2GC methods were divided into two classes - abilities and uses. Abilities are things objects do themselves, whether because they are directly controlled by Agents or because the rules decree that they do something; Uses are things that other objects can do with a given object. Each Use/Abil could have two sets of attributes - requirements and costs. The former would be a list of conditions the user would have to meet; the latter would be what must be expended to use the object.

The problem lies in classifying some of the general powers... like, is Throw a use of Throwable objects, or an Ability of Players? I'm leaning more towards a Use...

--
Wonko

_______________________________________________
spoon-discuss mailing list
spoon-discuss@xxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/spoon-discuss