mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Started merging received packets from the sample stream and reading lats and lons to move boats from them.
#story[820]
This commit is contained in:
@@ -159,6 +159,8 @@ public class CanvasController {
|
||||
leftToRight = nextMark.getX() < boatGroup.getLayoutX();
|
||||
|
||||
boatGroup.updatePosition(1000 / 60);
|
||||
// Point2D p = latLonToXY(lat, lon);
|
||||
// boatGroup.setDestination(p.getX(), p.getY());
|
||||
if (descending && nextMark.getY() < boatGroup.getLayoutY()) {
|
||||
currentRaceMarker[boatIndex]++;
|
||||
boatGroup.setDestination(
|
||||
|
||||
Reference in New Issue
Block a user