Beispiel #1
0
 private SubsystemCommandBasedIterativeRobot(
     IterativeRobotConfiguration iterativeRobotConfiguration,
     UserCode userCode,
     IDebugRenderContext debugRenderContext
     ) : base(iterativeRobotConfiguration, userCode, debugRenderContext)
 {
 }
Beispiel #2
0
        public static IRobot Create(
            IterativeRobotConfiguration configuration,
            SCG.IReadOnlyDictionary <int, ISubsystem> subsystems,
            SCG.IReadOnlyList <ICommand> commands,
            IDebugRenderContext debugRenderContext
            )
        {
            var userCode = new UserCode(subsystems, commands);

            return(new SubsystemCommandBasedIterativeRobot(configuration, userCode, debugRenderContext));
        }
Beispiel #3
0
 public IterativeRobot(IterativeRobotConfiguration configuration, IterativeRobotUserCode userCode, IDebugRenderContext debugRenderContext)
 {
     this.configuration      = configuration;
     this.userCode           = userCode;
     this.debugRenderContext = debugRenderContext;
 }
 public IterativeRobot(IterativeRobotConfiguration configuration, IterativeRobotUserCode userCode, IDebugRenderContext debugRenderContext)
 {
     this.configuration = configuration;
      this.userCode = userCode;
      this.debugRenderContext = debugRenderContext;
 }
   private SubsystemCommandBasedIterativeRobot(
    IterativeRobotConfiguration iterativeRobotConfiguration, 
    UserCode userCode,
    IDebugRenderContext debugRenderContext
 )
       : base(iterativeRobotConfiguration, userCode, debugRenderContext)
   {
   }
   public static IRobot Create(
    IterativeRobotConfiguration configuration,
    SCG.IReadOnlyDictionary<int, ISubsystem> subsystems,
    SCG.IReadOnlyList<ICommand> commands,
    IDebugRenderContext debugRenderContext
 )
   {
       var userCode = new UserCode(subsystems, commands);
        return new SubsystemCommandBasedIterativeRobot(configuration, userCode, debugRenderContext);
   }