示例#1
0
        public void AddFrame(SceneFrame frame)
        {
            if (this.frames == null)
            {
                this.frames = new List <SceneFrame>();
            }

            frames.Add(frame);
        }
示例#2
0
文件: SceneMap.cs 项目: ewin66/STP
        public bool AddSceneFrame(string nodeName, SceneFrame frame)
        {
            if (!nodesList.ContainsKey(nodeName))
            {
                return(false);
            }
            else
            {
                nodesList[nodeName].AddFrame(frame);
            }

            return(true);
        }