////////////////////////////////////////////////////
////////////////////////////////////////////////////
//Rock class////////////////////////////////////////
////////////////////////////////////////////////////
////////////////////////////////////////////////////
class Rock extends JLabel {
	private String imageLocation;
	private Dimension size;
	public Rectangle bounds;
	private int x, y;
	
	ImageIcon rockIcon;
	
	//////////////////////////////////////
	//Constructors						 /
	//////////////////////////////////////
	public Rock(String imageLocation, Dimension size){
		this.imageLocation = imageLocation;
		this.size = size;
		
		bounds = new Rectangle(size);
		rockIcon = new ImageIcon(imageLocation);
		
		setIcon(rockIcon);
	}
	
	//////////////////////////////////////
	//Public methods					 /
	//////////////////////////////////////
	public void setRockIcon(String imageLocation){
		this.imageLocation = imageLocation;
	}
	
	public void setRockSize(Dimension size){
		this.size = size;
	}
	
	public String toString(){
		return size + " " + rockIcon + " " + " " + imageLocation;
	}

	public void setRockLocation(int x, int y){
		setLocation(x, y);
	}
}
		