'Update the coin\'s behavior'

def update(self, game_info, viewport):

    self.current_time = game_info[c.CURRENT_TIME]
    self.viewport = viewport
    if (self.state == c.SPIN):
        self.spinning()
