Assest are loaded in loading place
This commit is contained in:
@@ -96,6 +96,9 @@ public class App extends Application {
|
|||||||
String nextFilling = burgerFilling.get(i);
|
String nextFilling = burgerFilling.get(i);
|
||||||
addedFilling.add(nextFilling);
|
addedFilling.add(nextFilling);
|
||||||
updateMessage("Adding the " + nextFilling + " . . .");
|
updateMessage("Adding the " + nextFilling + " . . .");
|
||||||
|
if (i == 0){
|
||||||
|
Assets3D.loadAssets();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Thread.sleep(100);
|
Thread.sleep(100);
|
||||||
updateMessage("Burger's done!");
|
updateMessage("Burger's done!");
|
||||||
@@ -114,7 +117,6 @@ public class App extends Application {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
new Thread(boatTask).start();
|
new Thread(boatTask).start();
|
||||||
Assets3D.loadAssets();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user