mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-11 03:08:38 +07:00
arc
This commit is contained in:
parent
5dc78a24e0
commit
ac3106728f
@ -70,9 +70,7 @@ public class NodeSlotProcessor extends BaseProcessor{
|
||||
|
||||
|
||||
CodeBlock.Builder code = CodeBlock.builder();
|
||||
fields.each((type, inits) -> {
|
||||
code.addStatement("map.put($L.class, new mindustry.logic.LogicNode.NodeSlot[]{$L})", type.toString(), inits.toString(","));
|
||||
});
|
||||
fields.each((type, inits) -> code.addStatement("map.put($L.class, new mindustry.logic.LogicNode.NodeSlot[]{$L})", type.toString(), inits.toString(",")));
|
||||
|
||||
slotClass.addStaticBlock(code.build());
|
||||
|
||||
|
@ -36,6 +36,7 @@ public abstract class LogicNode{
|
||||
|
||||
@Override
|
||||
public void build(Table table){
|
||||
//TODO replace with dropdown menu
|
||||
TextButton[] button = {null};
|
||||
button[0] = table.button(op.symbol, Styles.cleart, () -> {
|
||||
op = BinaryOp.all[(op.ordinal() + 1) % BinaryOp.all.length];
|
||||
|
@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=ebfb38e52d8af4d0a48fbbdfc702846a0d135e21
|
||||
archash=d71d43f90bca3d764b79e22c868f840fc4261361
|
||||
|
Loading…
Reference in New Issue
Block a user