Rewriting code to work with the transplanted loop

- Event has been replaced by leg, which holds the start and end coordinates, and total distance needed to pass it.
- The boats coordinates will be recalculated at each run through of the loop
- Not worrying about randomised race for now.

#refactor
This commit is contained in:
Erika Savell
2017-03-15 15:04:30 +13:00
parent 54d4ea2d03
commit b73fee2cb5
9 changed files with 248 additions and 236 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import javafx.scene.layout.*?>