public FireBall(TileMap tileMap, boolean right) {
        super(tileMap);
        facingRight = right;
        moveSpeed = 3.8;
        if(right) dx = moveSpeed;
        else dx = -moveSpeed;
        sWidth = sHeight = 30;
        width = height = 14;
        BufferedImage spritesheet = new Texture("/textures/fireball.gif").getImage();
        sprites = new BufferedImage[4];
        for(int i = 0; i < sprites.length; i++)
            sprites[i] = spritesheet.getSubimage(i * sWidth, 0, sWidth, sHeight);
        hitSprites = new BufferedImage[3];
        for(int i = 0; i < hitSprites.length; i++)
            hitSprites[i] = spritesheet.getSubimage(i * sWidth, sHeight, sWidth, sHeight);
        animation = new Animation();
        animation.setFrames(sprites);
        animation.setDelay(70);
    }