public class SharkImagePaintStrategy extends UprightImagePaintStrategy
localAT, tempAT
NullObject
Constructor and Description |
---|
SharkImagePaintStrategy()
Constructor loads the shark image
|
Modifier and Type | Method and Description |
---|---|
protected void |
paintCfg(java.awt.Graphics g,
Ball host)
This is just provided as an easy means to demonstrate the effects of flipping the image
to keep the image upright.
|
init, paintXfrm
getAT, paint
public SharkImagePaintStrategy()
protected void paintCfg(java.awt.Graphics g, Ball host)
paintCfg
in class UprightImagePaintStrategy
g
- The Graphics context that will be drawn upon.host
- The Ball to be painted.