1: //ShapeInterface.java
3: /**
4: * Interface for simple shapes drawn on
5: * the screen using keyboard characters.
6: */
7: public interface ShapeInterface
8: {
9: /** Sets the offset for the drawing. */
10: public void setOffset(int newOffset);
12: /** Returns the offset for the drawing. */
13: public int getOffset();
15: /** Draws the shape at lineNumber lines down from the current line. */
16: public void drawAt(int lineNumber);
18: /** Draws the shape at the current line. */
19: public void drawHere();
20: }