Example #1
0
            public string Drive()
            {
                string result = null;

                result = _vehicle.Accelerate();
                _vehicle.Break();
                _vehicle.leftSignal();
                _vehicle.rightSignal();
                _vehicle.Shift();

                return(result);
            }
Example #2
0
 public void Break()
 {
     _vehicleControls.Break();
 }