ballworld.model.paint.strategy
Class MarioSonicImagePaintStrategy

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.MarioSonicImagePaintStrategy
All Implemented Interfaces:
IPaintStrategy

public class MarioSonicImagePaintStrategy
extends UprightImagePaintStrategy

Paint strategy that uses either an animated Mario or Sonic image.

Author:
swong

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
MarioSonicImagePaintStrategy()
          No-parameter constructor that instantiates the AffineTransform used internally and the following files with a 50% probability: ballworld\model\paint\images\Sonic_animate.gif or ballworld\model\paint\images\Mario_animate.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

MarioSonicImagePaintStrategy

public MarioSonicImagePaintStrategy()
No-parameter constructor that instantiates the AffineTransform used internally and the following files with a 50% probability: ballworld\model\paint\images\Sonic_animate.gif or ballworld\model\paint\images\Mario_animate.gif with a fill factor of 0.5.