public Enemy(boolean side, int color, int movePattern, int bulletPattern, int bullets, double direction, int bulletSpeed) {
        super("sprites/fairyG_1.png");
        
        if(color > 4 || color < 1)
        {
            color = 1;
        }
        
        if(color == 2)
        {
            setImage("sprites/fairyB_1.png");
        }
        
        else if(color == 3)
        {
            setImage("sprites/fairyY_1.png");
        }
        
        else if(color == 4)
        {
            setImage("sprites/fairyR_1.png");
        }
        
        this.color = color;
        this.movePattern = movePattern;
        this.bulletPattern = bulletPattern;
        if(bullets < 0)
        {
           this.bullets = 0;
        }
        else
        {
            this.bullets = bullets;
        }
        this.direction = direction;
        this.bulletSpeed = bulletSpeed;
        this.side = side;
        this.x = fairyMove.getStartPos(true, movePattern, side);
        this.y = fairyMove.getStartPos(false, movePattern, side);
        startTime = Game.getInstance().getGameTime();
    }