Better annotation processor IC
This commit is contained in:
@@ -4229,7 +4229,7 @@ public class Blocks{
|
||||
size = 3;
|
||||
reloadTime = 130f;
|
||||
chargeTime = 90f;
|
||||
range = 500f;
|
||||
range = 600f;
|
||||
maxPayloadSize = 2.5f;
|
||||
fogRadius = 5;
|
||||
consumePower(0.5f);
|
||||
|
||||
@@ -3146,6 +3146,7 @@ public class UnitTypes{
|
||||
hitSize = 12f;
|
||||
engineSize = 0;
|
||||
fogRadius = 25;
|
||||
itemCapacity = 0;
|
||||
|
||||
setEnginesMirror(
|
||||
new UnitEngine(34 / 4f, 31 / 4f, 3f, 45f),
|
||||
|
||||
@@ -24,8 +24,6 @@ import mindustry.ui.*;
|
||||
import static mindustry.Vars.*;
|
||||
|
||||
public class JoinDialog extends BaseDialog{
|
||||
//TODO unused
|
||||
Seq<Host> commmunityHosts = new Seq<>();
|
||||
Seq<Server> servers = new Seq<>();
|
||||
Dialog add;
|
||||
Server renaming;
|
||||
@@ -393,7 +391,6 @@ public class JoinDialog extends BaseDialog{
|
||||
}
|
||||
|
||||
void refreshCommunity(){
|
||||
commmunityHosts.clear();
|
||||
int cur = refreshes;
|
||||
|
||||
global.clear();
|
||||
@@ -415,8 +412,6 @@ public class JoinDialog extends BaseDialog{
|
||||
if(refreshes != cur) return;
|
||||
res.port = resport;
|
||||
|
||||
commmunityHosts.add(res);
|
||||
|
||||
//add header
|
||||
if(groupTable[0] == null){
|
||||
global.table(t -> groupTable[0] = t).row();
|
||||
|
||||
@@ -2,6 +2,7 @@ package mindustry.world.consumers;
|
||||
|
||||
import arc.func.*;
|
||||
import mindustry.gen.*;
|
||||
import mindustry.world.meta.*;
|
||||
|
||||
/** A power consumer that uses a dynamic amount of power. */
|
||||
public class ConsumePowerDynamic extends ConsumePower{
|
||||
@@ -16,4 +17,9 @@ public class ConsumePowerDynamic extends ConsumePower{
|
||||
public float requestedPower(Building entity){
|
||||
return usage.get(entity);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void display(Stats stats){
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user