This commit is contained in:
Anuken
2020-08-13 09:18:47 -04:00
parent 1249eb3b00
commit 9ba98ed4b4
7 changed files with 9 additions and 40 deletions

View File

@@ -646,37 +646,4 @@ public class LStatements{
return LCategory.control;
}
}
//disabled until further notice - bypasses the network
/*
@RegisterStatement("getbuild")
public static class getBuildStatement extends LStatement{
public String x = "0", y = "0", dest = "result";
@Override
public void build(Table table){
table.field(dest, Styles.nodeField, str -> dest = str)
.size(100f, 40f).pad(2f).color(table.color);
table.add(" = ");
table.field(x, Styles.nodeField, str -> x = str)
.size(90f, 40f).pad(2f).color(table.color);
table.add(", ");
table.field(y, Styles.nodeField, str -> y = str)
.size(90f, 40f).pad(2f).color(table.color);
}
@Override
public LInstruction build(LAssembler builder){
return new GetBuildI(builder.var(dest), builder.var(x), builder.var(y));
}
@Override
public LCategory category(){
return LCategory.blocks;
}
}*/
}