Created xml for tutorial that contains start and finish line. TODO: Add gate/mark. #story[1189]
This commit is contained in:
@@ -79,8 +79,10 @@ public class Event {
|
||||
*/
|
||||
public Event(boolean singlePlayer) throws EventConstructionException {
|
||||
|
||||
String raceXMLFile = "mock/mockXML/raceTest.xml";
|
||||
String boatsXMLFile = "mock/mockXML/boatTest.xml";
|
||||
//String raceXMLFile = "mock/mockXML/raceTest.xml";
|
||||
String raceXMLFile = "mock/mockXML/raceTutorial.xml";
|
||||
//String boatsXMLFile = "mock/mockXML/boatTest.xml";
|
||||
String boatsXMLFile = "mock/mockXML/boatTutorial.xml";
|
||||
String regattaXMLFile = "mock/mockXML/regattaTest.xml";
|
||||
|
||||
if (singlePlayer) {
|
||||
|
||||
@@ -96,15 +96,15 @@ public class App extends Application {
|
||||
);
|
||||
|
||||
updateMessage("Preparing ingredients . . .");
|
||||
Thread.sleep(1000);
|
||||
Thread.sleep(100);
|
||||
for (int i = 0; i < burgerFilling.size(); i++) {
|
||||
Thread.sleep(800);
|
||||
Thread.sleep(100);
|
||||
updateProgress(i + 1, burgerFilling.size());
|
||||
String nextFilling = burgerFilling.get(i);
|
||||
addedFilling.add(nextFilling);
|
||||
updateMessage("Adding the " + nextFilling + " . . .");
|
||||
}
|
||||
Thread.sleep(400);
|
||||
Thread.sleep(100);
|
||||
updateMessage("Burger's done!");
|
||||
|
||||
return addedFilling;
|
||||
|
||||
Reference in New Issue
Block a user