diff --git a/src/main/java/seng302/Boat.java b/src/main/java/seng302/Boat.java index 2205f025..c52223c0 100644 --- a/src/main/java/seng302/Boat.java +++ b/src/main/java/seng302/Boat.java @@ -14,6 +14,10 @@ public class Boat public Boat(String teamName) { this.teamName = teamName; } + public Boat(String teamName, float boatVelocity) { + this.teamName = teamName; + this.velocity = boatVelocity; + } /* Returns the name of the team sailing the boat