'Moves mushrooms, stars and fireballs along the x, y axes'

def adjust_powerup_position(self):

    for powerup in self.powerup_group:
        if (powerup.name == c.MUSHROOM):
            self.adjust_mushroom_position(powerup)
        elif (powerup.name == c.STAR):
            self.adjust_star_position(powerup)
        elif (powerup.name == c.FIREBALL):
            self.adjust_fireball_position(powerup)
        elif (powerup.name == '1up_mushroom'):
            self.adjust_mushroom_position(powerup)
