protected void animate(ImageLoader il) {
        super.animate(il);
        fx = 0;
        fy = 0;

        int delay, last;

        if (animation.equals("alive")) {
            animFrame = 0;
            delay = 20;

            last = 0;
            if (animTimer > last + delay)
                animFrame = 1;

            last += delay;
            if (animTimer > last + delay)
                animTimer = -1;

            curImage = imageTable.get(type + "Alive" + animFrame);

        } else {
            curImage = imageTable.get(type + "Dead");
            animTimer = 0;
        }

        animTimer++;


    }