This commit is contained in:
Anuken
2020-10-02 20:23:37 -04:00
parent 5861fe61b2
commit 43936b536e
12 changed files with 5 additions and 23 deletions

View File

@@ -11,7 +11,6 @@ import mindustry.world.*;
import java.util.*;
//TODO documentation
public interface Autotiler{
/**
@@ -109,7 +108,6 @@ public interface Autotiler{
blendresult[0] = 0;
blendresult[1] = blendresult[2] = 1;
// TODO code refactoring maybe?
int num =
(blends(tile, rotation, directional, 2, world) && blends(tile, rotation, directional, 1, world) && blends(tile, rotation, directional, 3, world)) ? 0 :
(blends(tile, rotation, directional, 1, world) && blends(tile, rotation, directional, 3, world)) ? 1 :