Fixed null pointer exception when a boat finishes the race.

Boats now default to have position (0, 0).
Added mark rounding data to single player race.xml
This commit is contained in:
fjc40
2017-08-15 17:13:12 +12:00
parent 3a0bd10a57
commit 5ae8393126
8 changed files with 43 additions and 51 deletions
@@ -72,8 +72,6 @@ public class Event {
*/
public Event(boolean singlePlayer) throws EventConstructionException {
singlePlayer = false;//TEMP
String raceXMLFile = "mock/mockXML/raceTest.xml";
String boatsXMLFile = "mock/mockXML/boatTest.xml";
String regattaXMLFile = "mock/mockXML/regattaTest.xml";