exo4: add a basic main loop for annotation iteration.
[Project_POO.git] / exo4 / TP2 / Cercle.java
diff --git a/exo4/TP2/Cercle.java b/exo4/TP2/Cercle.java
deleted file mode 100644 (file)
index ba4e103..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-
-@ClassPreamble (
-    author = "Jérôme Benoit",
-    date = "01/03/2001"
-)
-class Cercle extends Forme {
-    private double rayon;
-
-    Cercle(Point pO, double r) {
-        super(pO);
-        rayon = r;
-    }
-
-    public void dessiner(Piletransformations pile) {
-        String className = this.getClass().getSimpleName();
-        Point pTrans = pile.getCurrentTransformation();
-        Point pOriTrans = super.getpOri().additionner(pTrans);
-        System.out.println(className + " " + super.getpOri().toString() + "->" + pOriTrans.toString() + " " + rayon);
-    }
-
-    public void afficher() {
-        String className = this.getClass().getSimpleName();
-        System.out.println("---- " + className + " ----");
-        System.out.println(super.getpOri().toString() + " " + rayon);
-    }
-
-}