Пример #1
0
        public void NoiseConnectOnce(NMap map, byte val)
        {
            NLocate loc1, loc2;

            FindLocationPair(map, val, out loc1, out loc2);
            NMove.Noise(map, loc1, loc2, 0, val);
        }
Пример #2
0
        public static NMap DrunkMazeWallMap(int width, int height)
        {
            NMap map = new NMap(width, height, 255);

            NMove.DrunkardWalk(map, map.Center(), 0);
            return(map);
        }
Пример #3
0
        public void AxisConnectOnce(NMap map, byte val)
        {
            NLocate loc1, loc2;

            FindLocationPair(map, val, out loc1, out loc2);
            NMove.AxisLine(map, loc1, loc2, val);
        }