mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
Implemented 'Race' class
- Boats can be added to a race - calling getFinishedBoats() will return a list of boats in the order that they finished
This commit is contained in:
@@ -9,6 +9,7 @@ public class Boat
|
||||
{
|
||||
// The name of the team, this is also the name of the boat
|
||||
private String teamName = null;
|
||||
private boolean finishedRace = false;
|
||||
|
||||
public Boat(String teamName) {
|
||||
this.teamName = teamName;
|
||||
|
||||
Reference in New Issue
Block a user