Changed main loop so boats are looped through with a different starting boat

-This was necessary because one boat (the last one to be processed) would lag and jump, as sometimes there was not enough time for all location messages to be sent before the next lot were added.
- The solution was to add a boatOffset, which means while the boats are still  processed with3 coming after 2 coming after 1 etc, the loop starts with boat 0, then the next run through it wiull start with boat 1 and so on.

-This eliminated the lag (or at least spread it evenly across all the boats)

#story[778]
This commit is contained in:
Erika Savell
2017-05-02 19:50:12 +12:00
parent 42ad1f78fc
commit 049f0f7331
7 changed files with 13 additions and 64 deletions
@@ -30,7 +30,6 @@ public class AC35DumpReader {
packets = new ArrayList<>();
System.out.println(dump.length);
readAllPackets();
}