Example #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SceneFacade"/> class.
        /// </summary>
        /// <param name="scene">The scene that the current object is a facade for.</param>
        /// <exception cref="ArgumentNullException">
        ///     Thrown if <paramref name="scene"/> is <see langword="null" />.
        /// </exception>
        internal SceneFacade(IHoldSceneData scene)
        {
            {
                Lokad.Enforce.Argument(() => scene);
            }

            m_Scene = scene;
        }
Example #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SceneFacade"/> class.
        /// </summary>
        /// <param name="scene">The scene that the current object is a facade for.</param>
        /// <exception cref="ArgumentNullException">
        ///     Thrown if <paramref name="scene"/> is <see langword="null" />.
        /// </exception>
        internal SceneFacade(IHoldSceneData scene)
        {
            {
                Lokad.Enforce.Argument(() => scene);
            }

            m_Scene = scene;
        }