/// <summary> /// The constructor. /// </summary> /// <param name="_robot"></param> public Wheeldrop(Robot _robot) : base(_robot) { }
/// <summary> /// The constructor. /// </summary> public Component(Robot _robot) { robot = _robot; }
/// <summary> /// The constructor. /// </summary> public DirtDetector(Robot _robot) : base(_robot) { }
/// <summary> /// The constructor. /// </summary> /// <param name="_robot"></param> public MotorOvercurrent(Robot _robot) : base(_robot) { }
/// <summary> /// The constructor. /// </summary> /// <param name="_robot"></param> public Cliff(Robot _robot) : base(_robot) { }
/// <summary> /// The constructor. /// </summary> public Button(Robot _robot) : base(_robot) { }
/// <summary> /// The constructor. /// </summary> public Bump(Robot _robot) : base(_robot) { }
/// <summary> /// The constructor. /// </summary> public Sensors(Robot _robot) : base(_robot) { Bumps = new Bump(_robot); Wheeldrops = new Wheeldrop(_robot); Cliffs = new Cliff(_robot); MotorOvercurrents = new MotorOvercurrent(_robot); DirtDetectors = new DirtDetector(_robot); Buttons = new Button(_robot); }
/// <summary> /// The constructor. /// </summary> public Leds(Robot _robot) { robot = _robot; bits = 0; power_colour = 0; power_intensity = 0; Power = new PowerLed(this); }