Ejemplo n.º 1
0
        public Image <Rgba32> RenderLayer(int mapId, int layer, int frame, bool filterTrash, int?minX = null, int?minY = null)
        {
            Map       entry    = GetMap(mapId);
            MapRender renderer = new MapRender(entry, entry.mapEntry);

            return(renderer.RenderLayer(frame, layer, filterTrash, minX, minY));
        }
Ejemplo n.º 2
0
        public Image <Rgba32> RenderLayer(int mapId, int layer, int frame)
        {
            Map       entry    = GetMap(mapId);
            MapRender renderer = new MapRender(entry, entry.mapEntry);

            return(renderer.RenderLayer(frame, layer));
        }