- race - package race
-
- RaceTypeFactory - Class in race
-
RaceTypeFactory
- RaceTypeFactory() - Constructor for class race.RaceTypeFactory
-
- RaceWithStages - Class in race
-
RaceWithStages
- RaceWithStages() - Constructor for class race.RaceWithStages
-
- reportDetails() - Method in class bicycleBody.Bicycle
-
Reports the information regarding a bicycle
(velocity and status)
- reportIfBroken(double) - Method in class bicycleBreaks.DuperBrakes
-
- reportIfBroken(double) - Method in interface bicycleBreaks.IBrakes
-
Reports if the brakes are broken.
- reportIfBroken(double) - Method in class bicycleBreaks.NiceBrakes
-
Picks a random number in range [0,1] and if this random
number is larger than the input threshold then returns false.
- reportIfBroken() - Method in interface bicyclePedal.IPedal
-
Reports if the pedals are broken.
- reportIfBroken() - Method in class bicyclePedal.SimplePedal
-
Picks a random number in range [0,1] and if this random
number is larger than 0.5 then returns false.
- reportIfBroken() - Method in class bicyclePedal.ZuperPedal
-
- reportIfDamageExists() - Method in class bicycleBody.Bicycle
-
- runRace() - Method in interface race.IRace
-
Executes the race between the vehicles.
- runRace() - Method in class race.RaceWithStages
-
Executes the race