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