public CastTargetKindList GetSelectedList(TroopCastTargetKind kind)
 {
     CastTargetKindList list = new CastTargetKindList();
     foreach (CastTargetKind kind2 in base.GameObjects)
     {
         if (kind2.ID ==(int) kind)
         {
             list.Add(kind2);
         }
     }
     return list;
 }
Esempio n. 2
0
        public CastTargetKindList GetSelectedList(TroopCastTargetKind kind)
        {
            CastTargetKindList list = new CastTargetKindList();

            foreach (CastTargetKind kind2 in base.GameObjects)
            {
                if (kind2.ID == (int)kind)
                {
                    list.Add(kind2);
                }
            }
            return(list);
        }