Example #1
0
        public IEnumerable <EnemyFighter> GetEnemyFighters()
        {
            IEnumerable <EnemyFighter> myEnemyFighters = Fighters.OfType <EnemyFighter>();

            return(myEnemyFighters);
        }
Example #2
0
 public List <Shade> GetShades()
 {
     return(new List <Shade>(Fighters.OfType <Shade>()));
 }
Example #3
0
        public IEnumerable <HumanFighter> GetHumanFighters()
        {
            IEnumerable <HumanFighter> myHumanFighters = Fighters.OfType <HumanFighter>();

            return(myHumanFighters);
        }