Package com.starpoints.painter.arena2D
Class PainterBlasterTank
- java.lang.Object
-
- com.starpoints.painter.arena2D.PainterThing
-
- com.starpoints.painter.arena2D.PainterFigure
-
- com.starpoints.painter.arena2D.PainterBlasterTank
-
public class PainterBlasterTank extends PainterFigure
Painter for ChaosDuck.
-
-
Field Summary
-
Fields inherited from class com.starpoints.painter.arena2D.PainterFigure
figureImages
-
-
Constructor Summary
Constructors Constructor Description PainterBlasterTank(PainterFactory painterFactory)Creates a BlasterTank.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpaintOverlay(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Repaint the figure on the graphics.-
Methods inherited from class com.starpoints.painter.arena2D.PainterFigure
calculateRocketX, calculateRocketY, createFigureImages, Figure_drawText, Figure_performExploding, getAnimatedXCoordinate, getAnimatedYCoordinate, getFigureImage, getImageScalingFactor, getRamPowerImageIndex, getRocketXFactor, getRocketYFactor, getShieldingFactor, paint, paintEnergyTransformerRegeneration, paintExplosionBlackened, paintExplosionBombed, paintExplosionEnergyLoss, paintExplosionExploded, paintExplosionOverheated, paintExplosionRammed, paintExplosionRocketed, paintFigureImage, paintFigureItem, paintFigureRegeneration, paintNumber, paintRocketOnFigure, paintShielding, paintStunFx
-
Methods inherited from class com.starpoints.painter.arena2D.PainterThing
calculateAngle, checkForLevelChange, drawShaded, drawStringCentered, Figure_drawText, getController, getSplitIndex, getXCoordinate, getYCoordinate, initializeForNewLevel, modifyHoverXCoordinate, modifyHoverYCoordinate, paintOval
-
-
-
-
Constructor Detail
-
PainterBlasterTank
public PainterBlasterTank(PainterFactory painterFactory)
Creates a BlasterTank.- Parameters:
painterFactory- The Painter factory.
-
-
Method Detail
-
paintOverlay
public void paintOverlay(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)
Repaint the figure on the graphics.- Overrides:
paintOverlayin classPainterFigure- Parameters:
g- The graphics to paint ont- The ThingState.state- The GameState.xCenter- The xcenter coordinate on the screenyCenter- The ycenter coordinate on the screenrepaintCounter- The repaint Counter.
-
-