mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
WIP: Researched and implemented a simple right of way calculation (might be wrong).
#story[1117]
This commit is contained in:
@@ -619,7 +619,6 @@ public class GameView extends Pane {
|
||||
* @param collisionPoint yacht collision point
|
||||
*/
|
||||
public void drawCollision(GeoPoint collisionPoint) {
|
||||
System.out.println("ran");
|
||||
Platform.runLater(() -> {
|
||||
Point2D point = findScaledXY(collisionPoint);
|
||||
double circleRadius = 0.0;
|
||||
|
||||
@@ -611,8 +611,6 @@ public class RaceViewController extends Thread implements ImportantAnnotationDel
|
||||
* @param subjectId source id of offending yacht
|
||||
*/
|
||||
public void showCollision(Long subjectId) {
|
||||
System.out.println("showcollision " + subjectId);
|
||||
System.out.println(participants.get((int) (long) subjectId).getLocation());
|
||||
gameView.drawCollision(participants.get((int) (long) subjectId).getLocation());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user