Пример #1
0
        public void SEQHomothetiePolygoneLosange()
        {
            i = new ModeSequentiel();
            int testPolygone = -1;

            testPolygone = i.CreerLosange(posXMid, posYMid, 30, 50);
            i.Afficher(displayTime);
            i.NettoyerEcran();
            i.DimensionnerForme(testPolygone, 2);
            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);
        }