示例#1
0
 def refresh_out(self):
     """
     refresh the coordinates
     """
     for j in range(-4, 1):
         for i in range(-1, 2):
             common.reset_arr(self.x_pos+i, self.y_pos+j)
示例#2
0
 def refresh_out(self):
     """
     refresh the coordinates
     """
     for i in range(0, 3):
         for j in range(i-3, 3-i):
             common.reset_arr(self.x_pos+j, self.y_pos+i)
示例#3
0
 def refresh_out(self):
     """
     refresh the coordinates
     """
     for i in range(-1, 3):
         for j in range(-1, 2):
             if i == 0:
                 common.reset_arr(self.x_pos + i, self.y_pos + j)
             else:
                 common.reset_arr(self.x_pos + i, self.y_pos)
示例#4
0
 def refresh_out(self):
     """
     refresh the coordinates
     """
     for i in range(-2, 1):
         common.reset_arr(self.x_pos, self.y_pos + i)
示例#5
0
 def refresh_out(self):
     """
     refresh the coordinates
     """
     common.reset_arr(self.x_pos, self.y_pos)
     common.reset_arr(self.x_pos + 1, self.y_pos)