Aufgabenblatt 4
This commit is contained in:
10
src/Drawable.java
Normal file
10
src/Drawable.java
Normal file
@ -0,0 +1,10 @@
|
||||
import codedraw.CodeDraw;
|
||||
|
||||
// An object that can be drawn in a CodeDraw canvas.
|
||||
//
|
||||
public interface Drawable {
|
||||
|
||||
//draws the object into the canvas 'cd'
|
||||
//Precondition: cd != null
|
||||
void draw(CodeDraw cd);
|
||||
}
|
Reference in New Issue
Block a user