Sep 18, 2008 09:26
Hey guys, UML or something similar is a good idea.
A) have units collected in 2-d array representing map
B) decide that's annoying for movement, take them out and put them in a list
C) realize that checking adjacency or range or placemen requires traversing the entire list of units and any such list of obstacles for every single command
D) put units back in map array, redo movement.
so yeah maybe i should plan this out first huh