/// <summary> /// Creates a new scene 2D layered source. /// </summary> /// <param name="stream"></param> /// <param name="index"></param> public Scene2DLayeredSource(Stream stream, Scene2DLayeredSerializer.Scene2DLayeredIndex index) { _stream = stream; _index = index; _loadedScenes = new Dictionary <int, IScene2DPrimitivesSource>(); }
/// <summary> /// Creates a new scene 2D layered source. /// </summary> /// <param name="stream"></param> /// <param name="index"></param> public Scene2DLayeredSource(Stream stream, Scene2DLayeredSerializer.Scene2DLayeredIndex index) { _stream = stream; _index = index; _loadedScenes = new Dictionary<int, IScene2DPrimitivesSource>(); }