Class Tank

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

    public class Tank
    extends Rocketeer
    Rocketeer enemy that has enhanced Ram power and shielding.
    See Also:
    Serialized Form
    • Constructor Detail

      • Tank

        public Tank​(Game game,
                    FigureInfo figureInfo)
        Creates a new Tank.
        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. Colors all fields around blue.
        Overrides:
        doSpecialUpdate in class Rocketeer
        Parameters:
        animation - The AnimationInfo.