Example #1
0
        //---------------------------------------------------------------------
        public void _addChildState(EbState child)
        {
            int group = child._getStateGroup();

            if (mMapChildState.ContainsKey(group))
            {
                mMapChildState[group].Add(child);
            }
            else
            {
                List <EbState> v = new List <EbState>();
                v.Add(child);
                mMapChildState[group] = v;
            }
        }
Example #2
0
 //---------------------------------------------------------------------
 public void _addChildState(EbState child)
 {
     int group = child._getStateGroup();
     if (mMapChildState.ContainsKey(group))
     {
         mMapChildState[group].Add(child);
     }
     else
     {
         List<EbState> v = new List<EbState>();
         v.Add(child);
         mMapChildState[group] = v;
     }
 }