예제 #1
0
        public void AddScene(string name, XGameScene scene)
        {
            if (m_dictSceneNodes.ContainsKey(name) || scene == null)
            {
                return;
            }
            scene.SetName(name);
            var node = new XGameSceneNode(scene);

            m_dictSceneNodes.Add(name, node);
        }
예제 #2
0
 public XGameSceneNode(XGameScene scene)
 {
     this.scene = scene;
 }