public Controller() { this.garage = new Garage(); this.robotFactory = new RobotFactory(); this.procedureFactory = new ProcedureFactory(); this.procedures = new ProcedureRepository(); }
public AnimalCentre( IHotel hotel, IAnimalFactory animalFactory, IProcedureFactory procedureFactory) { this.hotel = hotel; this.animalFactory = animalFactory; this.procedureFactory = procedureFactory; this.animals = new List <IAnimal>(); this.procedures = new List <IProcedure>(); this.adoptedAnimals = new Dictionary <string, List <string> >(); }