Example #1
0
 public Navigator(Cleaner cleaner)
 {
     this.cleaner = cleaner;
 }
Example #2
0
 public Robot(Cleaner cleaner, Navigator navigator)
 {
     this.navigator = navigator;
     this.cleaner   = cleaner;
 }