mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Merge branch 'Story1117_Course_Boundary_Collision' into 'develop'
Checked if a boat has crossed the boundary/course limit, if so, bounce the boat back. # Boundary crossing detection * if a boat has crossed the boundary, it will be bounced back to where it has came from # Testing * Manual testing has been done. * Boats have bounced back when collides with other boats, mark or boundary. #story[1117] #pair[hyi25, zyt10] See merge request !60
This commit is contained in:
@@ -60,7 +60,7 @@ public class ServerYacht extends Observable {
|
||||
this.country = country;
|
||||
this.sailIn = false;
|
||||
this.isAuto = false;
|
||||
this.location = new GeoPoint(57.670341, 11.826856);
|
||||
this.location = new GeoPoint(57.67046, 11.83751);
|
||||
this.lastLocation = location;
|
||||
this.heading = 120.0; //In degrees
|
||||
this.currentVelocity = 0d; //in mms-1
|
||||
|
||||
Reference in New Issue
Block a user