Package ballworld.model.paint

Class Summary
ADecoratorPaintStrategy Abstract class that provides default behavior for subclasses that will decorate another IPaintStrategy to add functionality to that strategy.
AnimatePaintStrategy Concrete paint strategy that cycles through a sequence of paint strategies, painting one per paint update.
APaintStrategy An abstract paint strategy that provides default behavior for its subclasses.
FixedColorDecoratorPaintStrategy Decorator paint strategy that decorates another IPaintStrategy and causes the painted color to always be a specified, fixed color.
ImagePaintStrategy Paint strategy that paints an image from a file, scaled to the host Ball's radius.
MultiPaintStrategy A composite design pattern exension of APaintStrategy that paints a set of paint strategies.
ShapePaintStrategy Concrete class that defines invariant painting behaviors for all Shape subclasses.
UprightImagePaintStrategy An image painting strategy that adds behavior to the paintCfg process that keeps the image upright no matter which way it is going.
UprightShapePaintStrategy Class that adds a paintCfg override that keeps the shape upright no matter which direction it is going.