Example #1
0
 public List <Equipement> GetArmors()
 {
     return(Gear.FindAll(
                delegate(Equipement eq)
     {
         return eq.ArmorBehav is IsArmor;
     }
                ));
 }
Example #2
0
 public List <Equipement> GetWeapons()
 {
     return(Gear.FindAll(
                delegate(Equipement eq)
     {
         return eq.WeaponBehav is IsWeapon;
     }
                ));
 }