示例#1
0
        public GameViewObj AddViewObj(string item_ident)
        {
            GameViewObj viewObj = new GameViewObj();

            m_Objects.Add(item_ident, ref viewObj);
            return(viewObj);
        }
示例#2
0
        public GameSceneObj AddSceneObj(ObjectID object_ident)
        {
            GameSceneObj sceneObj = new GameSceneObj();

            m_Objects.Add(object_ident, ref sceneObj);
            return(sceneObj);
        }
示例#3
0
        public GameView CreateView(ObjectID view_ident, int capacity)
        {
            GameView view = new GameView();

            view.SetCapaticty(capacity);
            mViews.Add(view_ident, ref view);
            return(view);
        }