mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-13 12:16:53 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
666c0f3582
@ -491,7 +491,7 @@ public class Tile implements Position, QuadTreeObject, Displayable{
|
|||||||
return block.solid && block.fillsTile && !block.synthetic() ? data : 0;
|
return block.solid && block.fillsTile && !block.synthetic() ? data : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @return true if these tiles are right next to eacho ther. */
|
/** @return true if these tiles are right next to each other. */
|
||||||
public boolean adjacentTo(Tile tile){
|
public boolean adjacentTo(Tile tile){
|
||||||
return relativeTo(tile) != -1;
|
return relativeTo(tile) != -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user