core/src/de/lksbhm/mona/puzzle/representations/Board.java
/**
	 * Shallow because it will only copy the nodes but not any additionally
	 * added attributes. Subtypes may override this method to a)
	 * 
	 * @return
	 */
Shallow because it will only copy the nodes but not any additionally
added attributes. Subtypes may override this method to a)

@return
Shallow because it will only copy the nodes but not any additionally added attributes . Subtypes may override this method to a ) @return
public Board<TileBaseType> shallowCopy() {
		Board<TileBaseType> copy = instantiate(width, height);
		TileBaseType previousTile;
		for (int x = 0; x < width; x++) {
			for (int y = 0; y < height; y++) {
				previousTile = copy.getTileOrNull(x, y);
				if (previousTile != null) {
					previousTile.dispose();
				}
				copy.setTile(getTile(x, y).copy(), x, y);
			}
		}
		return copy;
	}
public Board < TileBaseType > shallowCopy ( ) { Board < TileBaseType > copy = instantiate ( width , height ) ; TileBaseType previousTile ; for ( int x = 0 ; x < width ; x ++ ) { for ( int y = 0 ; y < height ; y ++ ) { previousTile = copy . getTileOrNull ( x , y ) ; if ( previousTile != null ) { previousTile . dispose ( ) ; } copy . setTile ( getTile ( x , y ) . copy ( ) , x , y ) ; } } return copy ; }
Shallow because it will only copy the nodes but not any additionally
 added attributes.
Shallow because it will only copy the nodes but not any additionally added attributes .