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)); }
public IterativeRobot(IterativeRobotConfiguration configuration, IterativeRobotUserCode userCode, IDebugRenderContext debugRenderContext) { this.configuration = configuration; this.userCode = userCode; this.debugRenderContext = 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); }