'Updates the state every refresh'

def update(self, surface, keys, current_time):

    self.current_time = current_time
    self.game_info[c.CURRENT_TIME] = self.current_time
    self.update_cursor(keys)
    self.overhead_info.update(self.game_info)
    surface.blit(self.background, self.viewport, self.viewport)
    surface.blit(self.image_dict['GAME_NAME_BOX'][0], self.image_dict['GAME_NAME_BOX'][1])
    surface.blit(self.mario.image, self.mario.rect)
    surface.blit(self.cursor.image, self.cursor.rect)
    self.overhead_info.draw(surface)
