mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
Added finishing events #implement and rotated the map by 180 degrees#fix
This commit is contained in:
@@ -104,8 +104,9 @@ public class Race {
|
||||
// There are no more marks after this event
|
||||
|
||||
else{
|
||||
Event event = new Event(time, boat, course.get(i), course.get(i));
|
||||
Event event = new Event(time, boat, course.get(i));
|
||||
events.get(boat).add(event);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -132,4 +133,8 @@ public class Race {
|
||||
public HashMap<Boat, List> getEvents() {
|
||||
return events;
|
||||
}
|
||||
|
||||
public void setBoatFinished(Boat boat){
|
||||
this.finishingOrder.add(boat);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user