Added entity and mayPass function in Tile
Added entity and mayPass function in Tile