Partially removed VMG optimisation, separated server-specific functionality

from MockRace into RaceServer.

#story[1094]
This commit is contained in:
Connor Taylor-Brown
2017-08-02 23:39:13 +12:00
parent b258e94a54
commit 0466292bd0
4 changed files with 185 additions and 238 deletions
@@ -43,18 +43,6 @@ public abstract class Race implements Runnable {
*/
protected LatestMessages latestMessages;
/**
* The sequence number of the latest BoatLocation message sent or received.
*/
protected int boatLocationSequenceNumber = 1;
/**
* The sequence number of the latest RaceStatus message sent or received.
*/
protected int raceStatusSequenceNumber = 1;
/**
* A list of compound marks in the race.
*/
@@ -364,4 +352,8 @@ public abstract class Race implements Runnable {
this.lastFpsResetTime = 0;
}
}
public int getRaceId() {
return raceId;
}
}