CSE115.Graphics
Class FramedFish
java.lang.Object
|
+--NGP.Graphics.Shape
|
+--NGP.Graphics.RectangularShape
|
+--NGP.Graphics.FramedRectangularShape
|
+--CSE115.Graphics.FramedFish
- All Implemented Interfaces:
- Colorable, EventListener, Graphic, Locatable, MouseListener, MouseMotionListener, Reactor, Rotatable, Sizeable
- public class FramedFish
- extends FramedRectangularShape
An NGP-style framed fish shape.
- Author:
- Carl Alphonce
Modified from FramedTriangle code by Phil Ventura
Methods inherited from class NGP.Graphics.Shape |
contains, drag, getCenterLocation, getColor, getDrawingPanel, getRotation, hide, intersects, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paint, react, setColor, setDrawingPanel, setRotation, show |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FramedFish
public FramedFish(DrawingPanel dp)
- Creates a new
FramedFish
with the specified
DrawingPanel.
- Parameters:
dp
- the DrawingPanel for this FramedFish.