예제 #1
0
        /// <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>();
        }
예제 #2
0
        /// <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>();
        }