|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use APaintStrategy | |
---|---|
ballworld.model.paint | |
ballworld.model.paint.strategy |
Uses of APaintStrategy in ballworld.model.paint |
---|
Subclasses of APaintStrategy in ballworld.model.paint | |
---|---|
class |
ADecoratorPaintStrategy
Abstract class that provides default behavior for subclasses that will decorate another IPaintStrategy to add functionality to that strategy. |
class |
AnimatePaintStrategy
Concrete paint strategy that cycles through a sequence of paint strategies, painting one per paint update. |
class |
FixedColorDecoratorPaintStrategy
Decorator paint strategy that decorates another IPaintStrategy and causes the painted color to always be a specified, fixed color. |
class |
ImagePaintStrategy
Paint strategy that paints an image from a file, scaled to the host Ball's radius. |
class |
MultiPaintStrategy
A composite design pattern exension of APaintStrategy that paints a set of paint strategies. |
class |
ShapePaintStrategy
Concrete class that defines invariant painting behaviors for all Shape subclasses. |
class |
UprightImagePaintStrategy
An image painting strategy that adds behavior to the paintCfg process that keeps the image upright no matter which way it is going. |
class |
UprightShapePaintStrategy
Class that adds a paintCfg override that keeps the shape upright no matter which direction it is going. |
Fields in ballworld.model.paint declared as APaintStrategy | |
---|---|
private APaintStrategy |
ADecoratorPaintStrategy.decoree
The "decoree" paint strategy whose methods are being augmented by this decorator paint strategy. |
private APaintStrategy[] |
AnimatePaintStrategy.paintStrats
The paint strategies to cycle through |
private APaintStrategy[] |
MultiPaintStrategy.pstrats
The set of paint strategies to paint |
Constructors in ballworld.model.paint with parameters of type APaintStrategy | |
---|---|
ADecoratorPaintStrategy(APaintStrategy decoree)
Constructor that takes the decoree paint strategy |
|
AnimatePaintStrategy(java.awt.geom.AffineTransform at,
APaintStrategy... pstrats)
Constructor that uses the supplied AffineTransform for internal use. |
|
AnimatePaintStrategy(APaintStrategy... pstrats)
Constructor that instantiates an AffineTransform for internal use. |
|
FixedColorDecoratorPaintStrategy(java.awt.Color color,
APaintStrategy decoree)
Constructor that |
|
MultiPaintStrategy(java.awt.geom.AffineTransform at,
APaintStrategy... pstrats)
Constructor that takes the paint strategies that will part of the composite. |
|
MultiPaintStrategy(APaintStrategy... pstrats)
Constructor that takes the paint strategies that will part of the composite. |
Uses of APaintStrategy in ballworld.model.paint.strategy |
---|
Subclasses of APaintStrategy in ballworld.model.paint.strategy | |
---|---|
class |
BirdSheepImagePaintStrategy
An example of an ImagePaintStrategy that randomly picks one of two animated image files to display when it is instantiated. |
class |
EllipsePaintStrategy
Paint strategy to paint an ellipse shape |
class |
Fish1PaintStrategy
Paint strategy that paints a fish-shaped Polygon generated by a Fish1PolyfonFactory. |
class |
Fish2PaintStrategy
Paint strategy that paints a fish-shaped Polygon generated by a Fish2PolyfonFactory. |
class |
MarioSonicImagePaintStrategy
Paint strategy that uses either an animated Mario or Sonic image. |
class |
NiceFishPaintStrategy
Subclass of MultiPaintStrategy that uses a SwimFishPaintStrategy and an EllipsePaintStrategy to paint a swimming fish shape that has an eye. |
class |
PlanetImagePaintStrategy
Paint strategy that upon instantiation, randomly picks one image from an array of images to use. |
class |
RectanglePaintStrategy
Concrete paint strategy that paints a rectangular shape scaled to the size of the ball. |
class |
SharkImagePaintStrategy
Paint strategy that paints a Black Tip Reef shark as its image. |
class |
SoccerImagePaintStrategy
Paint strategy that paints a FIFA soccer ball as its image |
class |
SwimFishPaintStrategy
Subclass of AnimatePaintStrategy that alternates between a Fish1PaintStrategy and a Fish2PaintStrategy. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |