Exemplo n.º 1
0
 protected void InitFeature()
 {
     for (int i = 0; i < Enum.GetNames(typeof(AIFeatureType)).Length; i++)
     {
         AIFeatureType type = (AIFeatureType)i;
         bool          flag = GlobalTools.GetValueFromBitMark(m_AIMark, i);
         this.m_AIFeatures[type] = flag;
     }
 }