From: brett l. <wak...@gm...> - 2006-12-31 19:58:59
|
It makes sense to me to make the object structure and interfaces as consistent as possible across object types. It's also helpful to do this considering our JavaDoc needs some work. ;-) I also agree that it'll probably help to have a generic Token class when we implement Port tokens. ---Brett. On 12/31/06, Erik Vos <eri...@xs...> wrote: > I'm currently pondering whether or not it is worthwhile > to restructure the code to make token laying follow this pattern > as well (each lay would then become a transfer of a Token object > between two TokenHolder objects). > > While thinking about this I also keep in mind that different token > types exist (e.g. port tokens occur in several games). > It might be useful to have a generic Token class from which > specific token types can be subclassed. > (the existing Token class would then be renamed to GUIToken or such). > You'll be aware that I already fairly consistently refer to the > usual tokens as BaseTokens. > > Erik. |