Class Swirlie

  • All Implemented Interfaces:
    FieldListener, java.io.Serializable, java.lang.Cloneable

    public class Swirlie
    extends Rocketeer
    Rocketeer enemy that fires Swirl rockets.
    See Also:
    Serialized Form
    • Constructor Detail

      • Swirlie

        public Swirlie​(Game game,
                       FigureInfo figureInfo)
        Creates a new Swirlie.
        Parameters:
        game - The game.
        figureInfo - The figure info.
    • Method Detail

      • performExplodingEffect

        protected void performExplodingEffect​(AnimationInfo animation)
        Makes the Swirlies point swirl when dying.
        Overrides:
        performExplodingEffect in class Rocketeer
        Parameters:
        animation - The AnimationInfo.