public StoryboardReader(string jsonDescPath, PreloadingStrategy preloadingStrategy = PreloadingStrategy.DoNotPreload) { _mapResource = ResourceFactory.Create(jsonDescPath); _preloadingStrategy = preloadingStrategy; _bitmaps = new Dictionary <string, SKBitmapHolder>(); LoadTask = LoadMap(); }
public StoryboardReader(string jsonDescPath, PreloadingStrategy preloadingStrategy = PreloadingStrategy.DoNotPreload, SKBitmapCache cache = null) { _mapResource = ResourceFactory.Create(jsonDescPath); _preloadingStrategy = preloadingStrategy; _bitmapCache = cache ?? new SKBitmapCache(); _bitmaps = new Dictionary <string, SKBitmapRefCounted>(); LoadTask = LoadMap(); }