Add the abstract class Forme that Cercle and Segment extend.
[TP_POO.git] / TP2 / Segment.java
index e1691723aa7895e0d67ba8b834d4c3fa8f6af373..25dc5e47e50c2b6d41b66a55a632bdc4a8bd13e6 100644 (file)
@@ -1,5 +1,5 @@
 
-class Segment {
+class Segment extends Forme {
     private Point pOri;
     private Point pDest;