def draw(self,drawResourcesFactories,x0,y0,x1,y1,tileCenter,collision):
        grid=self.gridSize*self.scalar
        x=math.ceil(x0/grid)*grid
        while x<x1:
            y=math.ceil(y0/grid)*grid
            while y<y1:
                self.drawItem(drawResourcesFactories,x,y,tileCenter,collision)
                y+=grid
            x+=grid
dataset/ETHPy150Open Craig-Macomber/Panda3D-Terrain-System/meshManager/gridFactory.py/GridFactory2.draw/original