public interface IRace
Modifier and Type | Method and Description |
---|---|
void |
runRace()
Executes the race between the vehicles.
|
void |
setupVehicle(java.lang.String pedalType,
java.lang.String brakeType,
java.lang.String name,
double velocity) |
void |
setupVehicles()
Creates the vehicles that are going
to participate in the race.
|
void setupVehicles()
void setupVehicle(java.lang.String pedalType, java.lang.String brakeType, java.lang.String name, double velocity)
void runRace()