mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
Added method to calculate distance travelled given velocity
- added getDistanceTravelled(velocity) to calculate how far a boat has travelled - added startTime for calculating time elapse between start point and enquiry point #story[6]
This commit is contained in:
@@ -15,7 +15,6 @@ public class App
|
||||
for (Map<String, Object> team : teams) {
|
||||
boatNames.add((String) team.get("team-name"));
|
||||
}
|
||||
System.out.println(boatNames.toString());
|
||||
|
||||
// Shuffle team names
|
||||
long seed = System.nanoTime();
|
||||
|
||||
Reference in New Issue
Block a user