Esempio n. 1
0
 public Robot(IRobotAi <IMoveCommand> ai, IDevice <IMoveCommand> executor)
 {
     this.ai     = ai;
     this.device = executor;
 }
Esempio n. 2
0
 public static Robot Create(IRobotAi <IMoveCommand> ai, IDevice <IMoveCommand> executor)
 {
     return(new Robot(ai, executor));
 }
Esempio n. 3
0
 public Robot(IRobotAi <T> ai, IDevice <T> executor)
 {
     this.ai     = ai;
     this.device = executor;
 }