Name cleanup

This commit is contained in:
Anuken
2021-02-12 19:40:29 -05:00
parent 2e6b90d4d5
commit 9050937900
9 changed files with 122 additions and 54 deletions
+1
View File
@@ -153,6 +153,7 @@ public class Build{
(type == check.block() && check.build != null && rotation == check.build.rotation && type.rotate) || //same block, same rotation
!check.interactable(team) || //cannot interact
!check.floor().placeableOn || //solid wall
(!checkVisible && !check.block().alwaysReplace) || //replacing a block that should be replaced (e.g. payload placement)
!((type.canReplace(check.block()) || //can replace type
//controversial change: allow rebuilding damaged blocks
//this could be buggy and abuse-able, so I'm not enabling it yet
@@ -1,16 +0,0 @@
package mindustry.world.meta;
import arc.struct.*;
import mindustry.gen.*;
public class Producers{
private Seq<Produce> producers = new Seq<>();
public void add(Produce prod){
producers.add(prod);
}
interface Produce{
void add(Building entity);
}
}