def __init__(self, main):
    self.main = main
    self.blockSize = 75
    self.gridWidth = 12
    self.gridHeight = 12
    self.grid = []
    for x in range(0, self.gridWidth):
        newColumn = []
        for y in range(0, self.gridHeight):
            newColumn.append(None)
        self.grid.append(newColumn)
    self.numTypes = 8
    self.images = []
    for x in range(0, self.numTypes):
        self.images.append(helpers.loadTGA(str(x))[0])
    self.maxTimeTillNew = 40
    self.timeTillNew = self.maxTimeTillNew
    self.moveTime = 0
    self.moveFrec = 10
def __init__(self, main):
    self.main = main
    self.blockSize = 75
    self.gridWidth = 12
    self.gridHeight = 12
    self.grid = []
    for x in range(0, self.gridWidth):
        newColumn = []
        for y in range(0, self.gridHeight):
            newColumn.append(None)
        self.grid.append(newColumn)
    self.numTypes = 8
    self.images = []
    for x in range(0, self.numTypes):
        self.images.append(helpers.loadTGA(str(x))[0])
    self.maxTimeTillNew = 40
    self.timeTillNew = self.maxTimeTillNew
    self.moveTime = 0
    self.moveFrec = 10