Skip to content
Snippets Groups Projects
Commit 568d4c1d authored by BrunoDatoMeneses's avatar BrunoDatoMeneses
Browse files

FIX: multiUi amoeba constructor errores

parent ae44393f
Branches
No related tags found
1 merge request!4Exp rein
......@@ -22,7 +22,7 @@ public class TestingMain {
StudiedSystem studiedSystem = new NDimCube(50.0, 3);
// create the amoeba
// Make sure the path to the config file is correct.
AMOEBA amoeba = new AMOEBA("resources/threeDimensionsLauncher.xml", studiedSystem);
AMOEBA amoeba = new AMOEBA(null,null,"resources/threeDimensionsLauncher.xml", studiedSystem);
amoeba.saver = new SaveHelperDummy();
// a window should have appeared, allowing you to control and visualize the amoeba.
......
......@@ -257,7 +257,7 @@ public class SaveExplorer extends VBox {
*/
public static void main(String[] args) throws ClassNotFoundException, IOException {
System.out.println("New AMOEBA launched.");
AMOEBA amoeba = new AMOEBA(args[0], (StudiedSystem)SerializeBase64.deserialize(args[1]));
AMOEBA amoeba = new AMOEBA(null,null,args[0], (StudiedSystem)SerializeBase64.deserialize(args[1]));
//amoeba.allowGraphicalScheduler(false);
for(Percept p : amoeba.getPercepts()) {
p.setValue(amoeba.getPerceptions(p.getName()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment