public boolean equals(Object obj)
	{
		if(obj instanceof Ship)
		{
			Ship objShip = (Ship)obj;
			if(objShip.x == this.x && objShip.y == this.y && objShip.xSize == this.xSize && objShip.ySize == this.ySize)
				return true;
		}
		return false;
	}