'This separate setup function allows me to pass a different
setup_frames method depending on what the powerup is'

def setup_powerup(self, x, y, name, setup_frames):

    self.sprite_sheet = setup.GFX['item_objects']
    self.frames = []
    self.frame_index = 0
    setup_frames()
    self.image = self.frames[self.frame_index]
    self.rect = self.image.get_rect()
    self.rect.centerx = x
    self.rect.y = y
    self.state = c.REVEAL
    self.y_vel = (-1)
    self.x_vel = 0
    self.direction = c.RIGHT
    self.box_height = y
    self.gravity = 1
    self.max_y_vel = 8
    self.animate_timer = 0
    self.name = name
