示例#1
0
        public void SEQTranslationEllipse()
        {
            i = new ModeSequentiel();
            int testEllipse = -1;

            testEllipse = i.CreerEllipse(posXMid, posYMid, 50, 80);
            i.Afficher(displayTime);
            i.NettoyerEcran();
            i.DeplacerForme(testEllipse, 200, 200);
            i.Afficher(displayTime);
        }
示例#2
0
        public void SEQTranslationPolygoneLosange()
        {
            i = new ModeSequentiel();
            int testPolygone = -1;

            testPolygone = i.CreerLosange(posXMid, posYMid, 30, 50);
            i.Afficher(displayTime);
            i.NettoyerEcran();
            i.DeplacerForme(testPolygone, 200, 200);
            i.Afficher(displayTime);
        }
示例#3
0
        public void SEQTranslationFormeLibre()
        {
            i = new ModeSequentiel();
            int testFormeLibre = -1;

            i.DescendreStylo();
            i.AvancerStylo(50);
            testFormeLibre = i.LeverStylo();
            i.Afficher(displayTime);
            i.NettoyerEcran();
            i.DeplacerForme(testFormeLibre, 200, 200);
            i.Afficher(displayTime);
        }