Set < MapElementContainer > getOverlappingElements ( Tile from , Tile to ) { if ( overlapData . containsKey ( from ) && overlapData . get ( from ) . containsKey ( to ) ) { return overlapData . get ( from ) . get ( to ) ; } return new HashSet < MapElementContainer > ( 0 ) ; }
Retrieves the overlap data from the neighbouring tiles