|
|
|
|
@ -205,6 +205,7 @@ public class MockBoat extends Boat {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Check if a mark is on the port side of the boat
|
|
|
|
|
* @param mark mark to be passed
|
|
|
|
|
*/
|
|
|
|
|
public boolean isPortSide(Mark mark){
|
|
|
|
|
//if this boat is lower than the mark check which way it is facing
|
|
|
|
|
@ -217,6 +218,7 @@ public class MockBoat extends Boat {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Check if a mark is on the starboard side of the boat
|
|
|
|
|
* @param mark mark to be passed
|
|
|
|
|
*/
|
|
|
|
|
public boolean isStarboardSide(Mark mark){
|
|
|
|
|
//if this boat is lower than the mark check which way it is facing
|
|
|
|
|
|