public Intersection checkCollisions(MapObject object) {
		int count = 0;
		Tile intersected = null;
		outer:
		for (Tile[] columns : map) {
			for (Tile tile : columns) {
				if (tile.getTileType() == TileType.EMPTY) {
					count++;
				}
				if (object.intersects(tile) && tile.getTileType() != TileType.EMPTY) {
					intersected = tile;
					break outer;
				}
			}
		}
		if (intersected != null) {
			IntersectionType intersectionType = object.getIntersectionSide(intersected);
			return new Intersection(intersected, intersectionType);
		}
		if (count == COLUMNS * ROWS) {
			setEmpty(true);
		}
		return null;
	}