ballwar.model.paint
Class SwimFishPaintStrategy

java.lang.Object
  extended by ballwar.model.paint.APaintStrategy
      extended by ballwar.model.paint.AnimatePaintStrategy
          extended by ballwar.model.paint.SwimFishPaintStrategy
All Implemented Interfaces:
IPaintStrategy

public class SwimFishPaintStrategy
extends AnimatePaintStrategy

Subclass of AnimatePaintStrategy that alternates between a Fish1PaintStrategy and a Fish2PaintStrategy.


Field Summary
 
Fields inherited from class ballwar.model.paint.APaintStrategy
at
 
Fields inherited from interface ballwar.model.IPaintStrategy
NullObject
 
Constructor Summary
SwimFishPaintStrategy()
          No-parameter constructor that instantiates an AffineTransform for internal use.
SwimFishPaintStrategy(AffineTransform at)
          Constructor that takes an external AffineTransform for internal use.
 
Method Summary
 
Methods inherited from class ballwar.model.paint.AnimatePaintStrategy
paintXfrm
 
Methods inherited from class ballwar.model.paint.APaintStrategy
init, paint, paintCfg
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwimFishPaintStrategy

public SwimFishPaintStrategy()
No-parameter constructor that instantiates an AffineTransform for internal use.


SwimFishPaintStrategy

public SwimFishPaintStrategy(AffineTransform at)
Constructor that takes an external AffineTransform for internal use.