Skip to content
Snippets Groups Projects
Commit 35853868 authored by Lucas Stratmann's avatar Lucas Stratmann
Browse files

Autostart and BugFixing

parent 31413606
Branches
No related tags found
No related merge requests found
......@@ -211,12 +211,7 @@ public class SimulateCodeButtonListener implements ActionListener
translator.setRootBlockName("loop");
Block loopBlock = renderableBlock.getBlock();
code.append(translator.translate(loopBlock.getBlockID()));
//FIXME Wie Loop von Programm Block unterscheiden?
translator.simulate(loopBlock.getBlockID(),sim);
//collect simcode objects here -> all SimCodeObjects inside main loop
//eg. simList.append(translator.simulate(loopBlock.getBlockID())); -> simList = simCodeObject-List
}
for (RenderableBlock renderableBlock : subroutineBlockSet)
......@@ -311,10 +306,7 @@ public class SimulateCodeButtonListener implements ActionListener
//TODO Autostart?
//TODO ! start simulator here
//sim.run();
//sim.startSimu();
sim.startSimu();
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment