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