示例#1
0
        public override IIterateur ItHaut()
        {
            var it = new Iterateur <T>(container);

            it.X = X;
            it.Y = Y - 1;
            return(it);
        }
示例#2
0
        public override IIterateur ItGauche()
        {
            var it = new Iterateur <T>(container);

            it.X = X - 1;
            it.Y = Y;
            return(it);
        }
示例#3
0
        public override IIterateur ItDroite()
        {
            var it = new Iterateur <T>(container);

            it.X = X + 1;
            it.Y = Y;
            return(it);
        }
示例#4
0
        public override IIterateur Clone()
        {
            var it = new Iterateur <T>(container);

            it.X = X;
            it.Y = Y;
            return(it);
        }