committed by
GitHub
parent
44d10a355e
commit
2146b35e5a
@@ -491,7 +491,7 @@ public class Tile implements Position, QuadTreeObject, Displayable{
|
||||
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){
|
||||
return relativeTo(tile) != -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user