Esempio n. 1
0
        public void SetMapState(MapState mapState)
        {
            mMapState = mapState;
            // TODO - Take in a tree to parse
            // We kind of do now, but need to move MapState
            // into the overall map manager, should not be
            // in the UI manager.
            TreeNode <MapItem> mapRoot = mMapState.GetMapTree();

            ClearTree();

            mTreeRoot = SetupTree(mapRoot);

            UpdateUI();

            mNumUpdates = 0;
        }