def __init__(self): self.arr = [[bricks.iBricks(i, j) for i in range(0, 31)] for j in range(0, 500)] self.k = 0
def resetenemy(self, x, y): self.arr[x][y] = bricks.iBricks(x, y)
def resetflag(self, ob): if ob[1] < 24: self.arr[ob[0]][ob[1]] = bricks.iBricks(ob[0], ob[1]) self.arr[ob[0]][ob[1] + 1] = bricks.cloth(ob[0], ob[1] + 1)
def resetmushroom(self, x, y): self.arr[x][y] = bricks.iBricks(x, y)
def resetblock(self, x, y, l): self.l = x + l br = bricks.iBricks(x + l, y) self.arr[x + l][y] = br
def makeup1iB(self, x): self.arr[x][16] = bricks.iBricks(x, 16)
def makeupiB(self, x): self.arr[x][21] = bricks.iBricks(x, 21)
def makeiB(self, x): for j in range(0, 4): self.arr[x][29 - j] = bricks.iBricks(x, 29 - j)