dbenamy / threes-company

Our project for VG Design 4995 at Columbia University
0 stars 0 forks source link

Holes are drawn on top of blobs #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Should be the other way around.

Original issue reported on code.google.com by dbenamy on 15 Dec 2007 at 1:45

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Fixed in 447.

Original comment by dbenamy on 16 Dec 2007 at 6:09