ballwar.model.paint
Class Fish2PolygonFactory
java.lang.Object
ballwar.model.paint.PolygonFactory
ballwar.model.paint.Fish2PolygonFactory
- All Implemented Interfaces:
- IShapeFactory
public class Fish2PolygonFactory
- extends PolygonFactory
Concrete PolygonFactory that creates fish-shaped Polygons that
have a shorter tail and a closed mouth.
Constructor Summary |
Fish2PolygonFactory()
Constructor that calls the PolygonFactory superclass constructor
with the scale factor and polygon points that define the fish
shape. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Fish2PolygonFactory
public Fish2PolygonFactory()
- Constructor that calls the PolygonFactory superclass constructor
with the scale factor and polygon points that define the fish
shape.