BrickPi.Movement.Vehicule.Vehicule C# (CSharp) Method

Vehicule() public method

Create a vehicule with 2 motors, one left and one right
public Vehicule ( BrickPortMotor left, BrickPortMotor right ) : System
left BrickPortMotor Motor port for left motor
right BrickPortMotor Motor port for right motor
return System
        public Vehicule(BrickPortMotor left, BrickPortMotor right)
        {
            brick = new Brick();
            //brick.Start();
            portleft = left;
            portright = right;
        }