Exemplo n.º 1
0
        /// <summary>
        /// Create a buy point view with an existing scene object.
        /// </summary>
        /// <param name="so">An existing scene object that will represent this view in-world</param>
        /// <param name="bp"></param>
        /// <returns></returns>
        public BuyPointView CreateBuyPointView(SceneObjectGroup so, BuyPoint bp)
        {
            BuyPointView bpv = new BuyPointView(m_controller, so.Scene, this, bp);

            bpv.Initialize(so);
            m_controller.Dispatcher.RegisterBuyPointView(bpv);

            return(bpv);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Create a buy point view and an accompanying in-world object.
        /// </summary>
        /// <param name="scene"></param>
        /// <param name="rezPoint"></param>
        /// <returns></returns>
        public BuyPointView CreateBuyPointView(Scene scene, Vector3 rezPoint)
        {
            BuyPointView bpv = new BuyPointView(m_controller, scene, this, null);

            bpv.Initialize(rezPoint);

            // TODO: Add code to register ex-nihilio buy points on the fly, if necessary.

            return(bpv);
        }
Exemplo n.º 3
0
 public void RegisterBuyPointView(BuyPointView bpv)
 {
     lock (m_buyPointViews)
         m_buyPointViews.Add(bpv.Uuid, bpv);
 }
Exemplo n.º 4
0
 public void RegisterBuyPointView(BuyPointView bpv)
 {
 }
Exemplo n.º 5
0
        /// <summary>
        /// Create a buy point view with an existing scene object.
        /// </summary>
        /// <param name="so">An existing scene object that will represent this view in-world</param>
        /// <param name="bp"></param>
        /// <returns></returns>
        public BuyPointView CreateBuyPointView(SceneObjectGroup so, BuyPoint bp)
        {
            BuyPointView bpv = new BuyPointView(m_controller, so.Scene, this, bp);
            bpv.Initialize(so);
            m_controller.Dispatcher.RegisterBuyPointView(bpv);

            return bpv;
        }
Exemplo n.º 6
0
        /// <summary>
        /// Create a buy point view and an accompanying in-world object.
        /// </summary>              
        /// <param name="scene"></param>
        /// <param name="rezPoint"></param>
        /// <returns></returns>
        public BuyPointView CreateBuyPointView(Scene scene, Vector3 rezPoint)
        {
            BuyPointView bpv = new BuyPointView(m_controller, scene, this, null);
            bpv.Initialize(rezPoint);

            // TODO: Add code to register ex-nihilio buy points on the fly, if necessary.

            return bpv;
        }