Aufgabenblatt 4

This commit is contained in:
Anton Ertl
2022-04-25 12:04:51 +02:00
parent 324626f5eb
commit ef01f2a0fc
7 changed files with 469 additions and 0 deletions

10
src/Drawable.java Normal file
View 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);
}