public class SharkImagePaintStrategy extends UprightImagePaintStrategy
localAT, tempATNullObject| 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, paintXfrmgetAT, paintpublic SharkImagePaintStrategy()
protected void paintCfg(java.awt.Graphics g,
Ball host)
paintCfg in class UprightImagePaintStrategyg - The Graphics context that will be drawn upon.host - The Ball to be painted.