Add the abstract class Forme that Cercle and Segment extend.
[TP_POO.git] / TP2 / Forme.java
diff --git a/TP2/Forme.java b/TP2/Forme.java
new file mode 100644 (file)
index 0000000..df9fc44
--- /dev/null
@@ -0,0 +1,7 @@
+
+abstract class Forme {
+
+    abstract public void dessiner(Piletransformations pile);
+    abstract public void deplacer(Point p);
+
+}