# File tile.rb, line 130 def Tile.intersect?(tile1,tile2) return ((tile2.x1 < tile1.x2) and (tile2.x2 > tile1.x1) and (tile2.y1 < tile1.y2) and (tile2.y2 > tile1.y1)) end