public static void ScoutFootballer(FootballerZone zone) { switch (zone) { case FootballerZone.SouthAmerica: new ForwardRecruiter(zone).SearchForFootballers(); break; case FootballerZone.Africa: new DefenceRecruiter(zone).SearchForFootballers(); break; case FootballerZone.Europe: new MidfielderRecruiter(zone).SearchForFootballers(); break; case FootballerZone.Asia: new MidfielderRecruiter(zone).SearchForFootballers(); break; default: break; } }
public Recruiter(FootballerZone footballerZone) { this.footballerZone = footballerZone; }
public DefenceRecruiter(FootballerZone footballerZone) : base(footballerZone) { name = "Micheal Stevens"; }
public MidfielderRecruiter(FootballerZone footballerZone) : base(footballerZone) { name = "Antony Turk"; }
public ForwardRecruiter(FootballerZone footballerZone) : base(footballerZone) { name = "Chris Lothbrook"; }