from pico2d import *
import jelly


class YellowBear(jelly.Jelly):
    image = None
    def initialize(self):
        if YellowBear.image == None:
            YellowBear.image = load_image('resource/Cookie Skill Effects and Jellies/jelly/simple bear.png')
        self.image_x = 0
        self.type = 4
        pass

    def draw(self):
        if self.x < 1000.0:
            self.image.clip_draw(self.image_x * 60, self.image_y, 60, 60, self.x, self.y, 32, 32)
        pass

    def get_bb(self):
        return self.x - 15, self.y - 14, self.x + 15, self.y + 14
