Research tweaks

This commit is contained in:
Anuken
2020-07-08 12:11:27 -04:00
parent 26e70fa585
commit a9333baa78
13 changed files with 66 additions and 55 deletions
@@ -178,10 +178,11 @@ public class ResearchBlock extends Block{
@Override
public boolean configTapped(){
//configure with tech node
ui.tech.show(node -> {
configure(node);
ui.tech.hide();
});
ui.showInfo("this does nothing");
//ui.research.show(node -> {
// configure(node);
// ui.research.hide();
//});
return false;
}
@@ -12,6 +12,8 @@ import java.util.*;
import static mindustry.Vars.content;
public class ItemModule extends BlockModule{
public static final ItemModule empty = new ItemModule();
private static final int windowSize = 60 * 4;
private static WindowedMean[] cacheFlow;
private static float[] cacheSums;