예제 #1
0
 def __init__(self):
     self.arr = [[bricks.iBricks(i, j) for i in range(0, 31)]
                 for j in range(0, 500)]
     self.k = 0
예제 #2
0
 def resetenemy(self, x, y):
     self.arr[x][y] = bricks.iBricks(x, y)
예제 #3
0
 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)
예제 #4
0
 def resetmushroom(self, x, y):
     self.arr[x][y] = bricks.iBricks(x, y)
예제 #5
0
 def resetblock(self, x, y, l):
     self.l = x + l
     br = bricks.iBricks(x + l, y)
     self.arr[x + l][y] = br
예제 #6
0
 def makeup1iB(self, x):
     self.arr[x][16] = bricks.iBricks(x, 16)
예제 #7
0
 def makeupiB(self, x):
     self.arr[x][21] = bricks.iBricks(x, 21)
예제 #8
0
 def makeiB(self, x):
     for j in range(0, 4):
         self.arr[x][29 - j] = bricks.iBricks(x, 29 - j)