in jsuarez/tools/MapMaker.py [0:0]
def redraw(self):
self.screen.fill((0, 0, 0))
R, C = int(self.H//2**self.resInd), int(self.W//2**self.resInd)
RR, CC = self.env.shape
for r in range(R):
for c in range(C):
rr, cc = r+self.deltaY, c+self.deltaX
if rr < 0 or cc < 0 or rr >= RR or cc >= CC:
continue
tex = self.env[rr, cc]
self.renderTile(r, c, self.textures.material[tex])