Added method to return barriers.
Improved flexibiliy of Tile interface.