示例#1
0
        private static Picture CreateQuartet(int n, Picture p)
        {
            var s = new SidePicture(n - 1, p);
            var t = new TtilePicture(p);

            return(new QuartetPicture(s, s, t.Turn(), t));
        }
示例#2
0
        private static Picture CreateQuartet(int n, Picture p)
        {
            var s = new SidePicture(n - 1, p);
            var c = new CornerPicture(n - 1, p);
            var u = new UtilePicture(p);

            return(new QuartetPicture(c, s, s.Turn(), u));
        }
示例#3
0
        public SquareLimitPicture(int n, Picture p)
        {
            var nw = new CornerPicture(n, p);
            var sw = nw.Turn();
            var se = sw.Turn();
            var ne = se.Turn();
            var nm = new SidePicture(n, p);
            var mw = nm.Turn();
            var sm = mw.Turn();
            var me = sm.Turn();
            var mm = new UtilePicture(p);

            _picture = new NonetPicture(nw, nm, ne, mw, mm, me, sw, sm, se);
        }