public Bullet(double x, double y) {
        BulletI = ImageLoader.BulletI;
        width = 15;
        height = 15;
        cwidth = 10;
        cheight = 10;
        this.x = x;
        this.y = y;
        
         moveSpeed = 2;
        
        BulletImages = new BufferedImage[4];
        for (int i = 0; i < 4; i++) {
            BulletImages[i] = BulletI.getSubimage(i * width, 0, width, height);
        }
        BulletHitedImages = new BufferedImage[3];
        for (int i = 0; i < 3; i++) {
            BulletHitedImages[i] = BulletI.getSubimage(i * width, height, width, height);
        }

        animation = new Animation();

        animation.setFrames(BulletImages);
        animation.setDelay(90);
        
        

    }