On 5/11/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:

2007/5/10, Greg Reddin <[EMAIL PROTECTED]>:
>
> In fact the Definition is needed to resolve inheritances, and the
> > "isVisited" flag is necessary for this purpose, but the rest seems to
> > belong to TileDefinition.
>
>
> I like the idea of consolidating these two classes.



I think I have a better idea: moving the "visited" flag outside. Well, not
exactly, I have in mind to create a list of definitions to be resolved (in
DefinitionsImpl), and removing them from the list when they have been
resolved.
This way we need only one class, I suppose, because there will be no more
differences between them.


I like that idea. I never was really happy with the visited flag.

Greg

Reply via email to