|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectballworld.model.paint.APaintStrategy
ballworld.model.paint.ImagePaintStrategy
ballworld.model.paint.UprightImagePaintStrategy
ballworld.model.paint.strategy.BirdSheepImagePaintStrategy
public class BirdSheepImagePaintStrategy
An example of an ImagePaintStrategy that randomly picks one of two animated image files to display when it is instantiated.
| Field Summary |
|---|
| Fields inherited from class ballworld.model.paint.ImagePaintStrategy |
|---|
localAT |
| Fields inherited from class ballworld.model.paint.APaintStrategy |
|---|
at |
| Fields inherited from interface ballworld.model.IPaintStrategy |
|---|
NullObject |
| Constructor Summary | |
|---|---|
BirdSheepImagePaintStrategy()
No-parameter constructor that instantiates the AffineTransform used internally and randomly loads one of two files: ballwar\model\paint\images\humbird4.gif or ballwar\model\paint\images\img104c.gif with a fill factor of 0.5. |
|
| Method Summary |
|---|
| Methods inherited from class ballworld.model.paint.UprightImagePaintStrategy |
|---|
paintCfg |
| Methods inherited from class ballworld.model.paint.ImagePaintStrategy |
|---|
init, paintXfrm |
| Methods inherited from class ballworld.model.paint.APaintStrategy |
|---|
paint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BirdSheepImagePaintStrategy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||