public interface IPedal
Modifier and Type | Method and Description |
---|---|
double |
getSpeed(double pedalingRate)
Computes the speed which is provided given the pedaling rate.
|
boolean |
reportIfBroken()
Reports if the pedals are broken.
|
double getSpeed(double pedalingRate)
pedalingRate
- the rate of the pedalingboolean reportIfBroken()