Example #1
0
 private SubsystemCommandBasedIterativeRobot(
     IterativeRobotConfiguration iterativeRobotConfiguration,
     UserCode userCode,
     IDebugRenderContext debugRenderContext
     ) : base(iterativeRobotConfiguration, userCode, debugRenderContext)
 {
 }
Example #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));
        }
Example #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);
   }