Update pathTile.java

Added support for room limits
Merge pull request #4 from Vek17/patch-3

Update pathTile.java