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