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); }
public XGameSceneNode(XGameScene scene) { this.scene = scene; }