public class Ground
{
	int x,y;
	
	public Ground(int _x, int _y)
	{
		x = _x;
		y = _y;
	}
	
	public int getX()
	{
		return x;
	}
	
	public int getY()
	{
		return y;
	}
	
	public boolean hit(int _x, int _y)
	{
		return ((_x+65>=x && _x<=x+30 && _y+95>=y && _y<=y+45));
	}
	
	public void moveRight()
	{
		x-=3;
	}
	public void moveLeft()
	{
		x+=3;
	}
}