Building loop cleanup

This commit is contained in:
Anuken
2022-02-13 19:33:04 -05:00
parent 03d99cb05a
commit f85aaed323
12 changed files with 55 additions and 254 deletions

View File

@@ -0,0 +1,16 @@
package mindustry.entities.comp;
import mindustry.annotations.Annotations.*;
import mindustry.gen.*;
import mindustry.world.blocks.power.*;
@EntityDef(value = PowerGraphUpdaterc.class, serialize = false, genio = false)
@Component
abstract class PowerGraphUpdaterComp implements Entityc{
public transient PowerGraph graph;
@Override
public void update(){
graph.update();
}
}