public SpecialisedSoldier(string id, string firstName, string lastName, decimal salary, ICorp corps) : base(id, firstName, lastName, salary) { corp = corps; }
public Commando(string id, string firstName, string lastName, decimal salary, ICorp corps) : base(id, firstName, lastName, salary, corps) { Corps = corps; Missions = new List <IMission>(); }
public Engineer(string id, string firstName, string lastName, decimal salary, ICorp corps) : base(id, firstName, lastName, salary, corps) { Corps = corps; Repairs = new HashSet <IRepair>(); }
public void Add(ICorp corp) { _subordinateList.Add(corp); }