0

changed "go" methods in world and quadtree to something more descriptive

This commit is contained in:
Andrew Brown
2011-11-01 11:32:28 -04:00
parent 996b299c79
commit 96cf62bd14
3 changed files with 14 additions and 10 deletions

View File

@@ -196,8 +196,11 @@ class QuadtreeGen(object):
except OSError, e:
pass # doesn't exist maybe?
def go(self, procs):
"""Processing before tile rendering"""
def check_depth(self):
"""Ensure the current quadtree is the correct depth. If it's not,
employ some simple re-arranging of tiles to save on computation.
"""
curdepth = self._get_cur_depth()
if curdepth != -1: