Example #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()
Example #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()
Example #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()
Example #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()