Functional world processors
This commit is contained in:
@@ -27,10 +27,12 @@ public class LCanvas extends Table{
|
||||
public DragLayout statements;
|
||||
public ScrollPane pane;
|
||||
public Group jumps;
|
||||
|
||||
StatementElem dragging;
|
||||
StatementElem hovered;
|
||||
float targetWidth;
|
||||
int jumpCount = 0;
|
||||
boolean privileged;
|
||||
Seq<Tooltip> tooltips = new Seq<>();
|
||||
|
||||
public LCanvas(){
|
||||
@@ -146,7 +148,7 @@ public class LCanvas extends Table{
|
||||
public void load(String asm){
|
||||
jumps.clear();
|
||||
|
||||
Seq<LStatement> statements = LAssembler.read(asm);
|
||||
Seq<LStatement> statements = LAssembler.read(asm, privileged);
|
||||
statements.truncate(LExecutor.maxInstructions);
|
||||
this.statements.clearChildren();
|
||||
for(LStatement st : statements){
|
||||
|
||||
Reference in New Issue
Block a user