Class SuperTankMK2

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

    public class SuperTankMK2
    extends SuperTank
    SuperTank enemy that has enhanced Ram power and shielding and an initial ECM system (Tank MK3). Fires FastRockets frequently.
    See Also:
    Serialized Form
    • Constructor Detail

      • SuperTankMK2

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

      • doSpecialUpdate

        protected void doSpecialUpdate​(AnimationInfo animation)
        This method is called at the end of the regular updateThing()-method. Sets an own rockets energy to 400.
        Overrides:
        doSpecialUpdate in class SuperTank
        Parameters:
        animation - The AnimationInfo.