Made changes to tutorial xmls. Linked button in title menu to start up a race on mouse click. Will need to make it so it starts the tutorial on click. #story[1189]

This commit is contained in:
zwu18
2017-08-31 19:54:22 +12:00
parent 86f1a608e4
commit c7af4f2eb7
5 changed files with 31 additions and 8 deletions
@@ -83,7 +83,8 @@ public class Event {
String raceXMLFile = "mock/mockXML/raceTutorial.xml";
//String boatsXMLFile = "mock/mockXML/boatTest.xml";
String boatsXMLFile = "mock/mockXML/boatTutorial.xml";
String regattaXMLFile = "mock/mockXML/regattaTest.xml";
//String regattaXMLFile = "mock/mockXML/regattaTest.xml";
String regattaXMLFile = "mock/mockXML/regattaTutorial.xml";
if (singlePlayer) {
raceXMLFile = "mock/mockXML/raceSinglePlayer.xml";
@@ -206,7 +207,6 @@ public class Event {
raceXML = raceXML.replace("RACE_CREATION_TIME", dateFormat.format(creationTime));
raceXML = raceXML.replace("RACE_START_TIME", dateFormat.format(creationTime.plusSeconds(secondsToAdd)));
return raceXML;
}