ballworld.model.paint.strategy
Class BirdSheepImagePaintStrategy

java.lang.Object
  extended by ballworld.model.paint.APaintStrategy
      extended by ballworld.model.paint.ImagePaintStrategy
          extended by ballworld.model.paint.UprightImagePaintStrategy
              extended by ballworld.model.paint.strategy.BirdSheepImagePaintStrategy
All Implemented Interfaces:
IPaintStrategy

public class BirdSheepImagePaintStrategy
extends UprightImagePaintStrategy

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

BirdSheepImagePaintStrategy

public 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.