예제 #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);
        }