Package ballwar.model.paint.shape

Interface Summary
IShapeFactory Abstract factory that creates a Shape for use as prototype shapes in IPaintStrategies.
 

Class Summary
EllipseShapeFactory Concrete shape factory that instantiates Ellipse2D.Double shapes.
Fish1PolygonFactory Concrete PolygonFactory that creates fish-shaped Polygons that have a longer tail and an open mouth.
Fish2PolygonFactory Concrete PolygonFactory that creates fish-shaped Polygons that have a shorter tail and a closed mouth.
PolygonFactory Concrete IShapeFactory that provides the invariant behavior to instantiate a Shape that is a Polygon.
RectangleShapeFactory Concrete IShapeFactory that instantiates Rectangle2d.Double shapes.