Cuts the places relatively to x, y @param places @param x @param y
(final HashSet<Place> places, final int x, final int y)
| 56 | * @param y |
| 57 | */ |
| 58 | public static void copy(final HashSet<Place> places, final int x, final int y) { |
| 59 | resetCopy(); |
| 60 | |
| 61 | copyPlaces = (HashSet<Place>) places.clone(); |
| 62 | copyMode = true; |
| 63 | copydx = x; |
| 64 | copydy = y; |
| 65 | generateLocations(x, y); |
| 66 | } |
| 67 | |
| 68 | /** |
| 69 | * Copies the places relatively to x, y |
no test coverage detected