HighscoreEntry highscoreEntry = new HighscoreEntry();
highscoreEntry.setQuantity(Quantity.totalSimulationTime, simulationTime);
highscoreEntry.setQuantity(Quantity.totalTravelTime, roadNetwork.totalVehicleTravelTime());
highscoreEntry.setQuantity(Quantity.totalTravelDistance, roadNetwork.totalVehicleTravelDistance()
* Units.M_TO_KM);
highscoreEntry.setQuantity(Quantity.totalFuelUsedLiters, roadNetwork.totalVehicleFuelUsedLiters());
highscoreForGames(highscoreEntry);
}
public static void initialize(ResourceBundle resourceBundle, Simulator simulator, Properties properties) {
new HighscoreFrame(resourceBundle, simulator, properties);