Building loop cleanup
This commit is contained in:
16
core/src/mindustry/entities/comp/PowerGraphUpdaterComp.java
Normal file
16
core/src/mindustry/entities/comp/PowerGraphUpdaterComp.java
Normal 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user