Closed GoogleCodeExporter closed 9 years ago
I think the cleanest and most efficient way to implement this is to have
separate
lists in LocalGameState for each layer of GameObject we want to draw (eg, holes
should be under everything else so they're the first layer). Then Board can
just run
through the layers in order, drawing all the elements of each.
Zach, this work for you?
Original comment by dbenamy
on 15 Dec 2007 at 9:06
I would rather not put that in LocalGameState, necessarily -- shouldnt the GUI
just
iterate over the list? Ill have to change a lot more code otherwise.
(Sorry, my apostrophe is broken)
Original comment by zac...@gmail.com
on 15 Dec 2007 at 6:40
I agree that it's a layering violation, but it's less efficient in the gui. We
can
try it and see if it's significant. Now that I'm thinking about it more, it
doesn't
seem as bad as I previously thought.
Original comment by dbenamy
on 15 Dec 2007 at 9:10
Fixed in 447.
Original comment by dbenamy
on 16 Dec 2007 at 6:09
Original issue reported on code.google.com by
dbenamy
on 15 Dec 2007 at 1:45