示例#1
0
        public RCCar Construct()
        {
            _builder.AddBoard(new UDOO());
            _builder.AddMotors(4);
            _builder.AddWheelType(WheelType.Omnidirectional);
            _builder.AddWheels(4);

            return(_builder.Build());
        }
示例#2
0
        public RCCar Construct()
        {
            _builder.AddBoard(new UDOO());
            _builder.AddMotors(2);
            _builder.AddWheelType(WheelType.Simple);
            _builder.AddWheels(6);

            return(_builder.Build());
        }
示例#3
0
        public RCCar Construct()
        {
            _builder.AddBoard(new Arduino());
            _builder.AddMotors(1);
            _builder.AddWheelType(WheelType.Simple);
            _builder.AddWheels(4);

            return(_builder.Build());
        }