def draw(self, surface):
    for y in range(0, self.gridHeight):
        for x in range(0, self.gridWidth):
            if (self.grid[x][y] is not None):
                surface.blit(self.images[self.grid[x][y]], ((x * self.blockSize), (y * self.blockSize)))
def draw(self, surface):
    for y in range(0, self.gridHeight):
        for x in range(0, self.gridWidth):
            if (self.grid[x][y] is not None):
                surface.blit(self.images[self.grid[x][y]], ((x * self.blockSize), (y * self.blockSize)))