示例#1
0
 def update_dropped(self):
     '''Update the dropped gems in the grid.'''
     for row in reversed(self.grid):
         for gem in row:
             if not gem is None and not gem.active:
                 gem.update()
示例#2
0
 def update_dropped(self):
     '''Update the dropped gems in the grid.'''
     for row in reversed(self.grid):
         for gem in row:
             if not gem is None and not gem.active:
                 gem.update()
示例#3
0
 def update(self):
     '''Update all the gems in the grid.'''
     for row in reversed(self.grid):
         for gem in row:
             if not gem is None:
                 gem.update()
示例#4
0
 def update(self):
     '''Update all the gems in the grid.'''
     for row in reversed(self.grid):
         for gem in row:
             if not gem is None:
                 gem.update()