Update pathTile.java

Added support for room limits