Beispiel #1
0
 public Controller()
 {
     this.dwarfRepository   = new DwarfRepository();
     this.presentRepository = new PresentRepository();
     this.workshop          = new Workshop();
     this.count             = 0;
 }
 public Controller()
 {
     this.dwarfRepository   = new DwarfRepository();
     this.presentRepository = new PresentRepository();
     this.dwarfFactory      = new DwarfFactory();
     this.workshop          = new Workshop();
     this.craftedPresents   = new List <IPresent>();
 }
Beispiel #3
0
 public Controller()
 {
     this.dwarfs   = new DwarfRepository();
     this.presents = new PresentRepository();
 }
Beispiel #4
0
 public Controller()
 {
     dwarfs   = new DwarfRepository();
     presents = new PresentRepository();
     workshop = new Workshop();
 }
Beispiel #5
0
 public Controller()
 {
     dwarfs   = new DwarfRepository();
     presents = new PresentRepository();
 }