Ejemplo n.º 1
0
        private object Run_GenerateMap(LispRuntimeCommand cmd, LispList list)
        {
            MapAlgorithms alg    = new MapAlgorithms(Logger);
            int           c      = 1;
            string        type   = Run <string>(list.items[c++]);
            int           width  = Run <int>(list.items[c++]);
            int           height = Run <int>(list.items[c++]);
            var           map    = alg.GenerateMap(type, width, height);

            return(map);
        }